public void Destroy() { TimerComponent.Instance.Remove(TimeoutCheckTimer); TimeoutCheckTimer = 0; TimeoutActorMessageSenders.Clear(); Instance = null; }
public void Awake() { TimeoutCheckTimer = TimerComponent.Instance.NewRepeatedTimer(10 * 1000, Check); Instance = this; }