Class XRSupportedBuildTargetAttribute
Implements
Inherited Members
Namespace: UnityEditor .XR.Management
Assembly: Unity.XR.Management.Editor.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class XRSupportedBuildTargetAttribute : Attribute, _Attribute
Constructors
XRSupportedBuildTargetAttribute(BuildTargetGroup)
Constructor for attribute. We assume that all build targets for this group will be supported.
Declaration
public XRSupportedBuildTargetAttribute(BuildTargetGroup buildTargetGroup)
Parameters
Type | Name | Description |
---|---|---|
Build |
buildTargetGroup | Build Target Group that will be supported. |
XRSupportedBuildTargetAttribute(BuildTargetGroup, BuildTarget[])
Constructor for attribute
Declaration
public XRSupportedBuildTargetAttribute(BuildTargetGroup buildTargetGroup, BuildTarget[] buildTargets)
Parameters
Type | Name | Description |
---|---|---|
Build |
buildTargetGroup | Build Target Group that will be supported. |
Build |
buildTargets | The set of build targets of Build Target Group that will be supported. |
Properties
buildTargetGroup
Declaration
public BuildTargetGroup buildTargetGroup { get; set; }
Property Value
Type | Description |
---|---|
Build |
buildTargets
Declaration
public BuildTarget[] buildTargets { get; set; }
Property Value
Type | Description |
---|---|
Build |