Esempio n. 1
0
 public TimeDelayer(float mtotal, UnityAction action)
 {
     totalTime = mtotal;
     startTime = Time.time;
     act       = action;
     delayer   = InstancedAction.DoRoutine(DelayCO(action, mtotal));
 }
Esempio n. 2
0
 public override void Trigger(KartMovement kart)
 {
     InstancedAction.DoRoutine(ApplyEffect(kart));
 }