public static void Init() { if (Instance != null) { Instance.Close(); Instance = null; } else { Instance = (ForgeNetworkingEditor)GetWindow(typeof(ForgeNetworkingEditor)); Instance.Initialize(); } }
public static void Init() { if (Instance != null) { Instance.Close(); Instance = null; } else { Instance = (ForgeNetworkingEditor) GetWindow(typeof (ForgeNetworkingEditor)); Instance.Initialize(); } }