private void KillButton() { HailerGUI.CloseAllGUIs(); if (button != null && ApplicationLauncher.Instance != null) { ApplicationLauncher.Instance.RemoveModApplication(button); button = null; } }
private void KillButton() { HailerGUI.CloseAllGUIs(); toolbarControl.OnDestroy(); Destroy(toolbarControl); #if false if (button != null && ApplicationLauncher.Instance != null) { ApplicationLauncher.Instance.RemoveModApplication(button); button = null; } #endif }
private void OnFalse() => HailerGUI.CloseAllGUIs();