Ejemplo n.º 1
0
 public static void TurnGroupOff(CanvasGroup[] _canvases)
 {
     foreach (CanvasGroup canvas in _canvases)
     {
         GuideCanvasControl.TurnOff(canvas);
     }
 }
Ejemplo n.º 2
0
    private void TruckIsComing()
    {
        if (truckComingState != TruckComingState.truckIsComing)
        {
            return;
        }

        // turn truck notification off
        GuideCanvasControl.TurnOff(truckNotification);

        // when animation of the truck is finished, move on the next state
        if (truckAction.hasFinished)
        {
            truckComingState = TruckComingState.checkPlayerPosition;
        }
    }