예제 #1
0
 public BuildPlatform(string locTitle, string tooltip, string iconId, BuildTargetGroup targetGroup, BuildTarget defaultTarget, bool forceShowTarget)
 {
     this.targetGroup     = targetGroup;
     name                 = targetGroup != BuildTargetGroup.Unknown ? BuildPipeline.GetBuildTargetGroupName(defaultTarget) : "";
     m_Title              = new ScalableGUIContent(locTitle, null, iconId);
     m_SmallTitle         = new ScalableGUIContent(null, null, iconId + ".Small");
     this.tooltip         = tooltip;
     this.forceShowTarget = forceShowTarget;
     this.defaultTarget   = defaultTarget;
 }
예제 #2
0
 public BuildPlatform(string locTitle, string tooltip, string iconId, NamedBuildTarget namedBuildTarget, BuildTarget defaultTarget, bool hideInUi)
 {
     this.namedBuildTarget = namedBuildTarget;
     name               = namedBuildTarget.TargetName;
     m_Title            = new ScalableGUIContent(locTitle, null, iconId);
     m_SmallTitle       = new ScalableGUIContent(null, null, iconId + ".Small");
     this.tooltip       = tooltip;
     this.hideInUi      = hideInUi;
     this.defaultTarget = defaultTarget;
 }