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

@@ -36,6 +36,7 @@ public class Menu : MonoBehaviour
private float floor2UpperLimit = 9;
private float floorsMidpointLimit = 2.5f;
private float floor1LowerLimit = -5;
private bool activated = true;
private void Awake()
{
@@ -46,9 +47,19 @@ public class Menu : MonoBehaviour
canvas.enabled = false;
}
public void DeactivateMenu() // Makes the ToggleMenu inable to toggle.
{
canvas.enabled = false;
activated = false;
}
public void ReactivateMenu() // Makes the ToggleMenu able to toggle again.
{
activated = true;
}
private void ToggleMenu(InputAction.CallbackContext context)
{
if (!activated) return;
// Get the camera's local Y rotation relative to the parent of MenuRotator
float relativeYRotation = Camera.transform.localEulerAngles.y;

View File

@@ -225,7 +225,7 @@ MonoBehaviour:
PlayericonFloor2: {fileID: 7554133574101087666}
PlayericonFloor1Parent: {fileID: 8144600077522330704}
PlayericonFloor2Parent: {fileID: 3922359959326010239}
Player: {fileID: 0}
Player: {fileID: 2260340697406480061}
openMenuAction: {fileID: 2462937694456473221, guid: c348712bda248c246b8c49b3db54643f,
type: 3}
--- !u!1 &916340287994646858
@@ -2125,7 +2125,6 @@ MonoBehaviour:
m_EnableStrafe: 1
m_EnableFly: 0
m_UseGravity: 1
inGravityDisableArea: 0
m_GravityApplicationMode: 0
m_ForwardSource: {fileID: 0}
m_LeftHandMoveAction:
@@ -4403,7 +4402,7 @@ PrefabInstance:
- target: {fileID: 8429981633443581383, guid: 1670dca8ee98f864eb412b51a24c08e1,
type: 3}
propertyPath: m_LocomotionVignetteProviders.Array.data[2].m_Enabled
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8429981633443581383, guid: 1670dca8ee98f864eb412b51a24c08e1,
type: 3}