docs.unity.cn
    Show / Hide Table of Contents

    Class SimulationLoader

    Manages the lifecycle of Simulation subsystems.

    Inheritance
    Object
    XRLoader
    XRLoaderHelper
    SimulationLoader
    Inherited Members
    XRLoaderHelper.m_SubsystemInstanceMap
    XRLoaderHelper.GetLoadedSubsystem<T>()
    XRLoaderHelper.StartSubsystem<T>()
    XRLoaderHelper.StopSubsystem<T>()
    XRLoaderHelper.DestroySubsystem<T>()
    UnityEngine.XR.Management.XRLoaderHelper.CreateSubsystem<TDescriptor, TSubsystem>(System.Collections.Generic.List<TDescriptor>, System.String)
    UnityEngine.XR.Management.XRLoaderHelper.CreateIntegratedSubsystem<TDescriptor, TSubsystem>(System.Collections.Generic.List<TDescriptor>, System.String)
    UnityEngine.XR.Management.XRLoaderHelper.CreateStandaloneSubsystem<TDescriptor, TSubsystem>(System.Collections.Generic.List<TDescriptor>, System.String)
    UnityEngine.XR.Management.XRLoaderHelper.WasAssignedToBuildTarget(UnityEditor.BuildTargetGroup)
    UnityEngine.XR.Management.XRLoaderHelper.WasUnassignedFromBuildTarget(UnityEditor.BuildTargetGroup)
    XRLoader.Start()
    XRLoader.Stop()
    XRLoader.GetSupportedGraphicsDeviceTypes(Boolean)
    Namespace: UnityEngine.XR.Simulation
    Syntax
    public class SimulationLoader : XRLoaderHelper

    Methods

    Deinitialize()

    Destroys each subsystem.

    Declaration
    public override bool Deinitialize()
    Returns
    Type Description
    Boolean

    Always returns true.

    Overrides
    XRLoaderHelper.Deinitialize()

    Initialize()

    Initializes the loader.

    Declaration
    public override bool Initialize()
    Returns
    Type Description
    Boolean

    True if the session subsystem was successfully created, otherwise false.

    Overrides
    XRLoader.Initialize()
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, May 22, 2023