public void onSettingsOpened() { if (configuration == null) { configuration = new Configruation(); } configuration.Load(); }
public void onEnabled() { if (configuration == null) { configuration = new Configruation(); configuration.Load(); } var go = new GameObject(Name); instance = go.AddComponent <DrinkingGame>(); }