Exemple #1
0
 // Start is called before the first frame update
 void Start()
 {
     health           = GetComponent <HealthController>();
     minigameCanvas   = GetComponentInChildren <Canvas>();
     game             = GetComponent <TerminalMinigame>();
     game.OnComplete += HandleCompletion;
 }
 // Start is called before the first frame update
 void Start()
 {
     health           = GetComponent <HealthController>();
     health.OnDie    += HandleDie;
     game             = GetComponent <TerminalMinigame>();
     game.OnComplete += HandleCompletion;
     count            = CountDown();
     timer.isFailure  = false;
 }