Class OpenXRManagementSettings
Implements
IXRPackage
Inherited Members
Namespace: UnityEditor.XR.OpenXR
Assembly: Unity.XR.OpenXR.Editor.dll
Syntax
public class OpenXRManagementSettings : IXRPackage
Properties
metadata
Returns an instance of UnityEditor.XR.Management.Metadata.IXRPackageMetadata. Information will be used to allow the XR Plug-in Management to provide settings and loaders through the settings UI.
Declaration
public IXRPackageMetadata metadata { get; }
Property Value
Type | Description |
---|---|
IXRPackageMetadata |
Methods
PopulateNewSettingsInstance(ScriptableObject)
Allows the package to configure new settings and/or port old settings to the instance passed in.
Declaration
public bool PopulateNewSettingsInstance(ScriptableObject obj)
Parameters
Type | Name | Description |
---|---|---|
ScriptableObject | obj | ScriptableObject instance representing an instance of the settings type provided by UnityEditor.XR.Management.Metadata.IXRPackageMetadata.settingsType. |
Returns
Type | Description |
---|---|
bool | True if the operation succeeded, false if not. If implementation is empty, just return true. |
Implements
UnityEditor.XR.Management.Metadata.IXRPackage