Exemple #1
0
        public void OnSettingsUI(UIHelperBase helper)
        {
            ensureComponents();

            if (_settingsui == null)
            {
                _settingsui = _gameObject.AddComponent <SettingsUI>();
            }

            _settingsui.Mod = this;
            _settingsui.InitializeSettingsUI(helper);
        }
Exemple #2
0
 public void OnSettingsUI(UIHelperBase helper)
 {
     m_SettingsUI = new SettingsUI();
     m_SettingsUI.InitializeSettingsUI(helper);
 }