Пример #1
0
 public static void ToMath()
 {
     RemoveAllSymbols();
     AssetHeplerEditor.AddSymbolsForGroup(BuildTargetGroup.Android, "PACKAGE_MATH");
     AssetDatabase.CopyAsset(VariResPath + "ui_update/UpdateForm_math.prefab", PublishEditor.ResPath + UpdatePath);
     AssetDatabase.Refresh();
 }
Пример #2
0
 public static void ToPack()
 {
     RemoveAllSymbols();
     AssetHeplerEditor.AddSymbolsForGroup(BuildTargetGroup.Android, "SUPER_PARK");
     AssetDatabase.CopyAsset(VariResPath + "ui_update/UpdateForm_park.prefab", PublishEditor.ResPath + UpdatePath);
     AssetDatabase.Refresh();
 }
Пример #3
0
 public static void PublishAndroidMy()
 {
     AssetHeplerEditor.RemoveSymbolsForGroup(BuildTargetGroup.Android, "SUPER_PARK");
     AssetHeplerEditor.AddSymbolsForGroup(BuildTargetGroup.Android, "SUPER_MY");
     PublishAndroid(PublishType.My);
     AssetHeplerEditor.RemoveSymbolsForGroup(BuildTargetGroup.Android, "SUPER_MY");
 }
Пример #4
0
 static void OpenDebugMode()
 {
     //PlayerSettings.SetScriptingDefineSymbolsForGroup (BuildTargetGroup.Android, "LOCAL_DEBUG");
     AssetHeplerEditor.AddSymbolsForGroup(EditorUserBuildSettings.selectedBuildTargetGroup, "LOCAL_RELEASE");
 }