Exemplo n.º 1
0
 public void StartTime(float maxTime, Effect effect)
 {
     this.timerStarted = true;
     this.maxTime = maxTime;
     var controller = gameObject.GetComponent<FirstPersonControllerWithDoubleJump>();
     effect.SetController(controller);
     effect.StartEffect();
 }