public override void OnDeinit() { base.OnDeinit(); #region macros UI.Windows.OnDeinit.TextComponent #endregion #region macros UI.Windows.OnDeinit.ImageComponent /* * This code is auto-generated by Macros Module * Do not change anything */ { this.Stop(); WindowSystemResources.UnloadAuto(this, onShowHide: false); } #endregion //this.onState = null; //this.onStateActive = false; if (this.button != null) { this.button.onClick.RemoveListener(this.OnClick); } this.callback.RemoveAllListeners(); this.callbackButton.RemoveAllListeners(); this.onHover.RemoveAllListeners(); }
public override void OnHideEnd() { base.OnHideEnd(); #region source macros UI.Windows.OnHideEnd.ImageComponent { //this.Stop(); WindowSystemResources.UnloadAuto(this, onShowHide: true); } #endregion }
public override void OnDeinit(System.Action callback) { base.OnDeinit(callback); #region source macros UI.Windows.OnDeinit.ImageComponent { this.Stop(); WindowSystemResources.UnloadAuto(this, onShowHide: false); } #endregion }
public override void OnHideEnd() { base.OnHideEnd(); #region macros UI.Windows.OnHideEnd.TextComponent #endregion #region macros UI.Windows.OnHideEnd.ImageComponent /* * This code is auto-generated by Macros Module * Do not change anything */ { this.Stop(); WindowSystemResources.UnloadAuto(this, onShowHide: true); } #endregion //this.onStateActive = false; }