public DelegateTimer(float timeOfInvo, MyArgumentDelegate myArgumentDelegate) { this.timeToInvoke = timeOfInvo; this.MyArgumentDelegate = myArgumentDelegate; }
public void AddArgumentDeleGate(MyArgumentDelegate arg, float time) { DelegateTimer toadd = new DelegateTimer(time + Time.time, arg); delegateTimerList.Add(toadd); }