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