예제 #1
0
 public void TurnOn()
 {
     Debug.Log(elevatorArrived);
     if (elevatorArrived)
     {
         return;
     }
     callingElevator         = true;
     elevatorArriveCountdown = Random.Range(5.0f, 6.0f);
     interactive.Deactivate();
 }
예제 #2
0
 public void Close()
 {
     spriteRenderer.sprite = elevator;
     interactive.Deactivate();
 }