SW 중심대학 OSS GIT 서버
박건태, 이승준, 고기완, 이준호
새로운 배포
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
using System;
#if UNITY_EDITOR
using UnityEditor;
namespace UnityEditor.XR.Management{ [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] public sealed class XRSupportedBuildTargetAttribute : Attribute { /// <summary>
/// String representation of <see href="https://docs.unity3d.com/ScriptReference/BuildTargetGroup.html">UnityEditor.Build.BuildTargetGroup
/// </summary>
public BuildTargetGroup buildTargetGroup { get; set; }
/// <summary>
/// Array of BuildTargets, each of which is the representation of <see href="https://docs.unity3d.com/ScriptReference/BuildTarget.html">UnityEditor.Build.BuildTarget
/// aligned with <see cref="buildTargetGroup"/>.
///
/// Currently only advisory.
/// </summary>
public BuildTarget[] buildTargets { get; set; }
private XRSupportedBuildTargetAttribute() { }
/// <summary>Constructor for attribute. We assume that all build targets for this group will be supported.</summary>
/// <param name="buildTargetGroup">Build Target Group that will be supported.</param>
public XRSupportedBuildTargetAttribute(BuildTargetGroup buildTargetGroup) { this.buildTargetGroup = buildTargetGroup; }
/// <summary>Constructor for attribute</summary>
/// <param name="buildTargetGroup">Build Target Group that will be supported.</param>
/// <param name="buildTargets">The set of build targets of Build Target Group that will be supported.</param>
public XRSupportedBuildTargetAttribute(BuildTargetGroup buildTargetGroup, BuildTarget[] buildTargets) { this.buildTargetGroup = buildTargetGroup; this.buildTargets = buildTargets; } }}
#endif
|