/// <summary> /// Destroys a timer, returns the instance to the pool and sets the variable to null /// </summary> /// <param name="timer"></param> public void Destroy(ref Timer timer) { timer?.DestroyToPool(); timer = null; }
/// <summary> /// Destroys a timer, returns the instance to the pool and sets the variable to null /// </summary> /// <param name="timer"></param> public void Destroy(ref Timer timer) { timer?.DestroyToPool(); timer = null; }