UnityEditor.EditorUserBuildSettings.SwitchActiveBuildTarget C# (CSharp) Method

SwitchActiveBuildTarget() private method

private SwitchActiveBuildTarget ( BuildTarget target ) : bool
target BuildTarget
return bool
        public static extern bool SwitchActiveBuildTarget(BuildTarget target);

Usage Example

示例#1
0
 public static bool SwitchActiveBuildTarget(BuildTarget target)
 {
     return(EditorUserBuildSettings.SwitchActiveBuildTarget(BuildPipeline.GetBuildTargetGroup(target), target));
 }