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

    Class SimulationSceneUsers

    Used to track the objects using the Simulation Scene across Assembly and Module loading. This is used since the Simulation Scene Module can be reloaded outside of normal times when object would try and start or stop using the Simulation Scene.

    Inheritance
    Object
    Object
    ScriptableObject
    SimulationSceneUsers
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: UnityEditor.MARS.Simulation
    Syntax
    [Serializable]
    [MovedFrom("Unity.MARS")]
    public class SimulationSceneUsers : ScriptableObject

    Properties

    instance

    Active instance of the SimulationSceneUsers

    Declaration
    public static SimulationSceneUsers instance { get; }
    Property Value
    Type Description
    SimulationSceneUsers

    simulationSceneUserCount

    The current number of objects using the Simulation Scene.

    Declaration
    public int simulationSceneUserCount { get; }
    Property Value
    Type Description
    Int32

    Methods

    AddSimulationUser(ScriptableObject)

    Add the object as a using the Simulation Scene

    Declaration
    public void AddSimulationUser(ScriptableObject usingModule)
    Parameters
    Type Name Description
    ScriptableObject usingModule

    The object using the sim Scene

    ContainsSimulationUser(ScriptableObject)

    Checks if the object is using the Simulation Scene

    Declaration
    public bool ContainsSimulationUser(ScriptableObject usingModule)
    Parameters
    Type Name Description
    ScriptableObject usingModule

    The object to check

    Returns
    Type Description
    Boolean

    Whether the object is using the Simulation Scene

    CreateSimulationSceneSubscribers()

    Create the SimulationSceneUsers instance

    Declaration
    public static SimulationSceneUsers CreateSimulationSceneSubscribers()
    Returns
    Type Description
    SimulationSceneUsers

    The created instance

    RemoveSimulationUser(ScriptableObject)

    Removes the object from using the Simulation Scene

    Declaration
    public void RemoveSimulationUser(ScriptableObject usingModule)
    Parameters
    Type Name Description
    ScriptableObject usingModule

    The object no longer using the sim Scene

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