void OnGUI() { NeedSaveSetting = false; if (GUILayout.Button("Rest Config")) { RestGUI(); } mToolbarOption = GUILayout.Toolbar(mToolbarOption, mToolbarTexts); UpdateGUI(); if (NeedSaveSetting) { ExportSetting.SaveCFG(); } }
static private void Rest() { sIntance = null; }