Class XRPackageMetadataStore
Provide access to the metadata store. Currently only usable as a way to assign and remove loaders
to/from an XRManager
Inherited Members
Namespace: UnityEditor .XR.Management.Metadata
Assembly: solution.dll
Syntax
[InitializeOnLoad]
public class XRPackageMetadataStore
Methods
Name | Description |
---|---|
Assign |
Assigns a loader of type loaderTypeName to the settings instance. Will instantiate an instance if one can't be found in the users project folder before assigning it. |
Get |
Return a read only list of all package metadata information currently known. |
Get |
Return a read only list of all package metadata information currently known that has loaders that support the given build. |
Get |
Given a package id, return the metadata for that package. |
Is |
Given a loader type and a build target group will return whether or not that loader is currently assigned to be active for that build target. |
Remove |
Remove a previously assigned loader from settings. If the loader type is unknown or an instance of the loader can't be found in the project folder no action is taken. Removal will not delete the instance from the project folder. |