docs.unity3d.com
    目次を表示する/隠す

    Class XRSubsystem<TSubsystemDescriptor>

    Serves as the base class for all the subsystems in this package.

    Inheritance
    Object
    Subsystem
    Subsystem<TSubsystemDescriptor>
    XRSubsystem<TSubsystemDescriptor>
    Inherited Members
    Subsystem<TSubsystemDescriptor>.SubsystemDescriptor
    Subsystem.Destroy()
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.XR.ARSubsystems
    Syntax
    [Obsolete("XRSubsystem has been deprecated. Use UnityEngine.SubsystemsImplementation.SubsystemWithProvider instead.", false)]
    public abstract class XRSubsystem<TSubsystemDescriptor> : Subsystem<TSubsystemDescriptor>, ISubsystem where TSubsystemDescriptor : ISubsystemDescriptor
    Type Parameters
    Name Description
    TSubsystemDescriptor

    The Subsystem Descriptor for the Subsystem.

    Properties

    running

    true if the Subsystem has been Started and is currently running, otherwise false.

    Declaration
    public sealed override bool running { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    Subsystem.running

    Methods

    OnDestroy()

    Destroys the subsystem. If the subsystem is running, Stop() is also called.

    Declaration
    protected sealed override void OnDestroy()
    Overrides
    Subsystem.OnDestroy()

    OnDestroyed()

    Invoked when Destroy is called. This method will not be invoked more than once, even if Destroy is called multiple times.

    Declaration
    protected abstract void OnDestroyed()

    OnStart()

    Invoked when Start() is called and running is false.

    Declaration
    protected abstract void OnStart()

    OnStop()

    Invoked when Stop() is called and running is true.

    Declaration
    protected abstract void OnStop()

    Start()

    Starts the subsystem.

    Declaration
    public sealed override void Start()
    Overrides
    Subsystem.Start()

    Stop()

    Stops the subsystem.

    Declaration
    public sealed override void Stop()
    Overrides
    Subsystem.Stop()
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)