docs.unity3d.com
    Show / Hide Table of Contents

    Class SampleLoader

    Sample loader implentation showing how to create simple loader. NOTE: You have to rename this class to make it appear in the loader list for XRManager.

    Inheritance
    Object
    XRLoader
    XRLoaderHelper
    SampleLoader
    Inherited Members
    XRLoaderHelper.m_SubsystemInstanceMap
    XRLoaderHelper.GetLoadedSubsystem<T>()
    XRLoaderHelper.StartSubsystem<T>()
    XRLoaderHelper.StopSubsystem<T>()
    XRLoaderHelper.DestroySubsystem<T>()
    XRLoaderHelper.CreateSubsystem<TDescriptor, TSubsystem>(List<TDescriptor>, String)
    XRLoaderHelper.CreateIntegratedSubsystem<TDescriptor, TSubsystem>(List<TDescriptor>, String)
    XRLoaderHelper.CreateStandaloneSubsystem<TDescriptor, TSubsystem>(List<TDescriptor>, String)
    XRLoader.GetSupportedGraphicsDeviceTypes(Boolean)
    Namespace: Samples
    Syntax
    public class SampleLoader : XRLoaderHelper

    Properties

    inputSubsystem

    Return the currently active Input Subsystem intance, if any.

    Declaration
    public XRInputSubsystem inputSubsystem { get; }
    Property Value
    Type Description
    XRInputSubsystem

    Methods

    Deinitialize()

    Implementaion of Deinitialize()

    Declaration
    public override bool Deinitialize()
    Returns
    Type Description
    Boolean

    True if successful, false otherwise

    Overrides
    XRLoaderHelper.Deinitialize()

    Initialize()

    Implementaion of Initialize()

    Declaration
    public override bool Initialize()
    Returns
    Type Description
    Boolean

    True if successful, false otherwise

    Overrides
    XRLoader.Initialize()

    Start()

    Implementaion of Start()

    Declaration
    public override bool Start()
    Returns
    Type Description
    Boolean

    True if successful, false otherwise

    Overrides
    XRLoader.Start()

    Stop()

    Implementaion of Stop()

    Declaration
    public override bool Stop()
    Returns
    Type Description
    Boolean

    True if successful, false otherwise

    Overrides
    XRLoader.Stop()
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023