added UFO skywalk animation and bolt car teleport button
This commit is contained in:
@@ -11,9 +11,10 @@ Material:
|
||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_ValidKeywords:
|
||||
- _EMISSION
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_LightmapFlags: 1
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: 2000
|
||||
@@ -113,9 +114,9 @@ Material:
|
||||
- _WorkflowMode: 1
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _BaseColor: {r: 0.6981132, g: 0.4544322, b: 0.45867008, a: 1}
|
||||
- _Color: {r: 0.6981132, g: 0.4544322, b: 0.45867002, a: 1}
|
||||
- _EmissionColor: {r: 0.074176654, g: 0.074176654, b: 0.074176654, a: 1}
|
||||
- _BaseColor: {r: 0.9339623, g: 0.030838395, b: 0.045404896, a: 1}
|
||||
- _Color: {r: 0.9339623, g: 0.030838395, b: 0.045404874, a: 1}
|
||||
- _EmissionColor: {r: 0.1807191, g: 0, b: 0, a: 1}
|
||||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
--- !u!114 &8952982900415126127
|
||||
|
||||
@@ -215,6 +215,7 @@ namespace UnityEngine.XR.Content.Interaction
|
||||
}
|
||||
|
||||
pressInfo.m_InPressRegion = withinButtonRegion;
|
||||
Debug.Log("Button was pressed by: " + pressInfo.m_Interactor);
|
||||
}
|
||||
|
||||
minimumHeight = Mathf.Max(minimumHeight, -(m_PressDistance + m_PressBuffer));
|
||||
@@ -234,7 +235,11 @@ namespace UnityEngine.XR.Content.Interaction
|
||||
m_Toggled = !m_Toggled;
|
||||
|
||||
if (m_Toggled)
|
||||
{
|
||||
m_OnPress.Invoke();
|
||||
}
|
||||
|
||||
|
||||
else
|
||||
m_OnRelease.Invoke();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user