Exemple #1
0
 public static void ReloadSettingData()
 {
     LoadPref();
     LoadConfig();
     if (null == mProtoSetting)
     {
         mProtoSetting = (ProtoSetting)EditorWindow.GetWindow <ProtoSetting>();
     }
     mProtoSetting.settingData = mSettingData;
     mProtoSetting.Repaint();
 }
Exemple #2
0
 static void OpenConfigWindow()
 {
     if (null == mProtoSetting)
     {
         mProtoSetting = (ProtoSetting)EditorWindow.GetWindow <ProtoSetting>();
     }
     mProtoSetting.settingData       = mSettingData;
     mProtoSetting.useDefaultConfig  = (1 == configLevel);
     mProtoSetting.titleContent.text = "游戏数据生成";
     mProtoSetting.Show();
 }