/// <summary> /// Disposes the VesselManager /// </summary> public static void Dispose() { managerInstance.UnlinkEvents(); managerInstance.ActiveVessel = null; managerInstance = null; Program.AddDebugLog("Vessel Part Manager Disposed."); }
public static void Terminate() { _instance.UnlinkEvents(); _instance.ActiveVesselPartsList.Clear(); _instance.ActiveVessel = null; _instance = null; #if DEBUG Debug.Log("AGM : VesselPartManager Terminated."); #endif }