Method ActiveLoaderAs
ActiveLoaderAs<T>()
Return the current active loader, cast to the requested type. Useful shortcut when you need to get the active loader as something less generic than XRLoader.
Declaration
public T ActiveLoaderAs<T>() where T : XRLoader
Returns
Type | Description |
---|---|
T | The active loader as requested type, or null. |
Type Parameters
Name | Description |
---|---|
T | Requested type of the loader |