Property loaders
loaders
List of loaders currently managed by this XR Manager instance.
Declaration
[Obsolete("'XRManagerSettings.loaders' property is obsolete. Use 'XRManagerSettings.activeLoaders' instead to get a list of the current loaders.")]
public List<XRLoader> loaders { get; }
Property Value
Type | Description |
---|---|
List<XRLoader> |
Remarks
Modifying the list of loaders at runtime is undefined behavior and could result in a crash or memory leak. Use activeLoaders to retrieve the currently ordered list of loaders. If you need to mutate the list at runtime, use TryAddLoader(XRLoader, int), TryRemoveLoader(XRLoader), and TrySetLoaders(List<XRLoader>).