public void Unsubscribe(object tickTarget) { ITickable tickable = tickTarget as ITickable; if (tickable != null) { tickables -= tickable.Tick; } IFixedTickable fixedTickable = tickTarget as IFixedTickable; if (fixedTickable != null) { fixedTickables -= fixedTickable.FixedTick; } ILateTickable lateTickable = tickTarget as ILateTickable; if (lateTickable != null) { lateTickables -= lateTickable.LateTick; } }
public void AddLate(ILateTickable tickable, int priority) { _lateUpdater.AddTask(tickable, priority); }
public void RemoveLate(ILateTickable tickable) { _lateUpdater.RemoveTask(tickable); }
public void AddLate(ILateTickable tickable) { AddLate(tickable, 0); }
public void AddLate(ILateTickable tickable, int priority) { _lateUpdater.AddTask(tickable, priority); }
internal void RemoveLate(ILateTickable tickable) { _lateTicked.Remove(tickable); }
public void Add(ILateTickable component) { _addList.Add(component); }
internal void RemoveLate(ILateTickable tickable) { _lateTicked.Remove(tickable); }
public void AddLate(ILateTickable tickable) { _ticker.AddLate(tickable); }
public void RemoveLate(ILateTickable tickable) { _ticker.RemoveLate(tickable); }
void UpdateLateTickable(ILateTickable tickable) { #if PROFILING_ENABLED using (ProfileBlock.Start("{0}.LateTick()".Fmt(tickable.GetType().Name()))) #endif { tickable.LateTick(); } }
public void AddLate(ILateTickable tickable) { _lateUpdater.AddTask(tickable); }
void UpdateLateTickable(ILateTickable tickable) { using (ProfileBlock.Start("{0}.LateTick()".Fmt(tickable.GetType().Name()))) { tickable.LateTick(); } }
public void AddLate(ILateTickable tickable) { AddLate(tickable, 0); }
internal void AddLate(ILateTickable tickable) { _lateTicked.Add(tickable); }
public void RemoveLate(ILateTickable tickable) { _lateUpdater.RemoveTask(tickable); }
internal void AddLate(ILateTickable tickable) { _lateTicked.Add(tickable); }