public QSEConfigUI() { if (Instance == null) { Instance = FindObjectOfType(typeof(QSEConfigUI)) as QSEConfigUI; if (Instance == null) { GameObject qse_configUI = new GameObject("QSEConfigUI"); Instance = qse_configUI.GetOrAddComponent <QSEConfigUI>(); } } else { Instance.Awake(); } }
private void OnConsoleCommand_qseconfig(NotificationCenter.Notification n) { QSEConfigUI configUI = new QSEConfigUI(); }
public void Awake() { useGUILayout = false; Instance = this; InitItems(); }