public override void Dispose() { GameFramework.UnregisterFromUpdate(this); Global.gEnv.pHardwareMouse.RemoveListener(this); base.Dispose(); }
/// <summary> /// Called by framework. Do not call directly. /// </summary> public static void Destroy() { if (_instance != null) { GameFramework.UnregisterFromUpdate(_instance); _instance = null; } }
/// <summary> /// Called by framework. Do not call directly. /// </summary> public static void Destroy() { if (_instance != null) { GameFramework.UnregisterFromUpdate(_instance); Global.gEnv.pHardwareMouse.RemoveListener(_instance); _instance.Dispose(); _instance = null; } }
/// <summary> /// Called by framework. Do not call directly. /// </summary> public static void Destroy() { GameFramework.UnregisterFromUpdate(_instance); _scenes.Clear(); _instance = null; }
public void Destroy() { GameFramework.UnregisterFromUpdate(this); _onTimerExpired = null; }