public void Start() { if (Instance != null) Destroy (Instance.gameObject); Instance = this; LoadSettings (); }
public void Awake() { if (Instance != null) Destroy (Instance.gameObject); Instance = this; LoadSettings (); foreach (AssemblyLoader.LoadedAssembly assembly in AssemblyLoader.loadedAssemblies) { if (assembly.name == "Toolbar") config.blizzyToolbarInstalled = true; if (assembly.name == "Kopernicus") config.kopernicusInstalled = true; } }