示例#1
0
 public void OnDestroy()
 {
     if (gui != null)
     {
         gui.OnDestroy();
     }
 }
示例#2
0
 /// <summary>Called by Unity when plugin is unloaded</summary>
 public void OnDestroy()
 {
     mainButton.Destroy();
     if (gui != null)
     {
         gui.OnDestroy();
     }
 }
示例#3
0
        /// <summary>Called by Unity when plugin is unloaded</summary>
        public void OnDestroy()
        {
            Debug.Log("[Kerbulator] Destroy");
            if (gui != null)
            {
                gui.OnDestroy();
            }
            gui = null;

            RemoveToolbarButton();
        }