예제 #1
0
 /// <summary>
 /// Sets the instant build type. If true, changes the build type to instant and creates a "PLAY_INSTANT"
 /// scripting define symbol. If false, removes the "PLAY_INSTANT" scripting define symbol.
 /// This setting only affects builds started through <see cref="Bundletool"/> or the "Google" Editor menu.
 /// This method can only be called on the Editor's main thread.
 /// </summary>
 public static void SetInstantBuildType(bool instantBuild)
 {
     if (instantBuild)
     {
         AndroidBuildHelper.AddScriptingDefineSymbol(PlayInstantScriptingDefineSymbol);
     }
     else
     {
         AndroidBuildHelper.RemoveScriptingDefineSymbol(PlayInstantScriptingDefineSymbol);
     }
 }