コード例 #1
0
 /// <summary>
 /// Adds the scripting define symbols in the given array to all platforms where they don't exist.
 /// </summary>
 /// <param name="symbols">Symbols.</param>
 public static void SDS_AddDefinesOnAllPlatforms(string[] symbols)
 {
     foreach (BuildTargetGroup target in EM_EditorUtil.GetWorkingBuildTargetGroups())
     {
         SDS_AddDefines(symbols, target);
     }
 }
コード例 #2
0
 /// <summary>
 /// Removes the scripting define symbol on all platforms where it exists.
 /// </summary>
 /// <param name="symbol">Symbol.</param>
 public static void SDS_RemoveDefineOnAllPlatforms(string symbol)
 {
     foreach (BuildTargetGroup target in EM_EditorUtil.GetWorkingBuildTargetGroups())
     {
         SDS_RemoveDefine(symbol, target);
     }
 }