added UFO skywalk animation and bolt car teleport button

This commit is contained in:
2025-03-25 20:09:15 +02:00
parent 7ea187f9fd
commit e40106b45e
1036 changed files with 2552 additions and 43098 deletions

View File

@@ -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();
}