Class XRCustomLoaderUIAttribute
Custom attribute that indicates a class supports the IXRCustom
Note that there can only be one custom loader for each (Loader Type, BuildTargetGroup) combination. If more than one loader exists, the system will fall back to built-in supported rendering and log a warning in the Console window.
Implements
Inherited Members
Namespace: UnityEditor .XR.Management
Assembly: Unity.XR.Management.Editor.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class XRCustomLoaderUIAttribute : Attribute, _Attribute
Constructors
XRCustomLoaderUIAttribute(string, BuildTargetGroup)
Constructor for this attribute.
Declaration
public XRCustomLoaderUIAttribute(string loaderTypeName, BuildTargetGroup buildTargetGroup)
Parameters
Type | Name | Description |
---|---|---|
string | loaderTypeName | Loader type name. |
Build |
buildTargetGroup | Build Target Group. |
Properties
buildTargetGroup
Supported build target group.
Declaration
public BuildTargetGroup buildTargetGroup { get; set; }
Property Value
Type | Description |
---|---|
Build |
Supported build target group. |
loaderTypeName
Supported loader type.
Declaration
public string loaderTypeName { get; set; }
Property Value
Type | Description |
---|---|
string | Supported loader type. |