docs.unity3d.com
    Show / Hide Table of Contents

    Class SceneWatchdogModule

    Inheritance
    Object
    ScriptableSettingsBase
    ScriptableSettingsBase<SceneWatchdogModule>
    EditorScriptableSettings<SceneWatchdogModule>
    SceneWatchdogModule
    Inherited Members
    EditorScriptableSettings<SceneWatchdogModule>.instance
    ScriptableSettingsBase<SceneWatchdogModule>.k_HasCustomPath
    ScriptableSettingsBase<SceneWatchdogModule>.s_Instance
    ScriptableSettingsBase<SceneWatchdogModule>.Save(String)
    ScriptableSettingsBase<SceneWatchdogModule>.GetFilePath()
    ScriptableSettingsBase.k_PathExceptionMessage
    ScriptableSettingsBase.GetInstanceByType(Type)
    ScriptableSettingsBase.OnLoaded()
    Namespace: UnityEditor.MARS
    Syntax
    [MovedFrom("Unity.MARS")]
    public class SceneWatchdogModule : EditorScriptableSettings<SceneWatchdogModule>, IModuleDependency<SimulatedObjectsManager>, IModule

    Properties

    anyEntitiesInScene

    Whether there are any MARSEntities in the active scene

    Declaration
    public bool anyEntitiesInScene { get; }
    Property Value
    Type Description
    Boolean

    anySubscribersInScene

    Whether there are any IFunctionalitySubscribers in the active scene

    Declaration
    public bool anySubscribersInScene { get; }
    Property Value
    Type Description
    Boolean

    currentSceneIsFaceScene

    Whether the active scene requires the "face" trait or has face tracking subscribers

    Declaration
    public bool currentSceneIsFaceScene { get; }
    Property Value
    Type Description
    Boolean

    Methods

    Update()

    Declaration
    public void Update()

    Events

    entitiesAdded

    Called when MARSEntities are added to the active scene. Use this for a coarse-grained change check. Provided list contains only entities which have been added

    Declaration
    public event Action<List<MARSEntity>> entitiesAdded
    Event Type
    Type Description
    Action<List<MARSEntity>>

    entitiesRemoved

    Declaration
    public event Action<List<MARSEntity>> entitiesRemoved
    Event Type
    Type Description
    Action<List<MARSEntity>>

    entityComponentsAdded

    Called when MARSEntities or components on a MARSEntity or its children are added to the active scene. Use this for a fine-grained change check. Provided list contains all entities and child components which have been added

    Declaration
    public event Action<List<Component>> entityComponentsAdded
    Event Type
    Type Description
    Action<List<Component>>

    entityComponentsRemoved

    Declaration
    public event Action<List<Component>> entityComponentsRemoved
    Event Type
    Type Description
    Action<List<Component>>

    faceSceneStateChanged

    Called when the state of whether the active scene uses face tracking has changed

    Declaration
    public event Action<bool> faceSceneStateChanged
    Event Type
    Type Description
    Action<Boolean>

    functionalitySubscribersAdded

    Called when IFunctionalitySubscribers are added to the active scene. Provided list contains subscribers which have been added.

    Declaration
    public event Action<List<IFunctionalitySubscriber>> functionalitySubscribersAdded
    Event Type
    Type Description
    Action<List<IFunctionalitySubscriber>>

    functionalitySubscribersRemoved

    Declaration
    public event Action<List<IFunctionalitySubscriber>> functionalitySubscribersRemoved
    Event Type
    Type Description
    Action<List<IFunctionalitySubscriber>>

    prefabInstanceReverted

    Called when a prefab is reverted outside of a prefab stage.

    Declaration
    public event Action prefabInstanceReverted
    Event Type
    Type Description
    Action

    Explicit Interface Implementations

    IModule.LoadModule()

    Declaration
    void IModule.LoadModule()
    Implements
    IModule.LoadModule()

    IModule.UnloadModule()

    Declaration
    void IModule.UnloadModule()
    Implements
    IModule.UnloadModule()

    IModuleDependency<SimulatedObjectsManager>.ConnectDependency(SimulatedObjectsManager)

    Declaration
    void IModuleDependency<SimulatedObjectsManager>.ConnectDependency(SimulatedObjectsManager dependency)
    Parameters
    Type Name Description
    SimulatedObjectsManager dependency
    Implements
    IModuleDependency<T>.ConnectDependency(T)
    Back to top
    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