docs.unity.cn
    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 Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, January 5, 2022
    Terms of use