added UFO skywalk animation and bolt car teleport button
This commit is contained in:
@@ -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