Updated elevator, added audio master slider
This commit is contained in:
@@ -122,7 +122,11 @@ public class ElevatorSpringyButton : MonoBehaviour {
|
||||
}
|
||||
//Debug.Log("Button is pressed");
|
||||
if (ElevatorOuter != null && !isInsideButton) ElevatorOuter.CallElevator();
|
||||
if (disabled) StartCoroutine(DeactivateAfterDelay(0.5f));
|
||||
if (disabled)
|
||||
{
|
||||
StartCoroutine(DeactivateAfterDelay(0.5f));
|
||||
return;
|
||||
}
|
||||
if (box != null && isInsideButton)
|
||||
{
|
||||
if (isFloorButton)
|
||||
|
||||
Reference in New Issue
Block a user