docs.unity3d.com
    显示 / 隐藏目录

    Class MARSSceneModule

    Inheritance
    Object
    ScriptableSettingsBase
    ScriptableSettingsBase<MARSSceneModule>
    ScriptableSettings<MARSSceneModule>
    MARSSceneModule
    Inherited Members
    ScriptableSettings<MARSSceneModule>.instance
    ScriptableSettingsBase<MARSSceneModule>.k_HasCustomPath
    ScriptableSettingsBase<MARSSceneModule>.s_Instance
    ScriptableSettingsBase<MARSSceneModule>.Save(String)
    ScriptableSettingsBase<MARSSceneModule>.GetFilePath()
    ScriptableSettingsBase.k_PathExceptionMessage
    ScriptableSettingsBase.GetInstanceByType(Type)
    ScriptableSettingsBase.OnLoaded()
    Namespace: Unity.MARS
    Syntax
    [ModuleBehaviorCallbackOrder(1073741823)]
    [ScriptableSettingsPath("Assets/MARS/Settings")]
    public class MARSSceneModule : ScriptableSettings<MARSSceneModule>, IModuleBehaviorCallbacks, IUsesCameraOffset, IFunctionalitySubscriber<IProvidesCameraOffset>, IFunctionalitySubscriber, IModuleDependency<FunctionalityInjectionModule>, IModule

    Properties

    BlockEnsureSession

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

    provider

    Declaration
    public IProvidesCameraOffset provider { get; set; }
    Property Value
    Type Description
    IProvidesCameraOffset
    Implements
    IFunctionalitySubscriber<TProvider>.provider

    simulatedDiscoveryInPlayMode

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

    simulateDiscovery

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

    simulateInPlaymode

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

    Methods

    ConnectDependency(FunctionalityInjectionModule)

    Declaration
    public void ConnectDependency(FunctionalityInjectionModule dependency)
    Parameters
    Type Name Description
    FunctionalityInjectionModule dependency
    Implements
    IModuleDependency<T>.ConnectDependency(T)

    LoadModule()

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

    OnBehaviorAwake()

    Declaration
    public void OnBehaviorAwake()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorAwake()

    OnBehaviorDestroy()

    Declaration
    public void OnBehaviorDestroy()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorDestroy()

    OnBehaviorDisable()

    Declaration
    public void OnBehaviorDisable()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorDisable()

    OnBehaviorEnable()

    Declaration
    public void OnBehaviorEnable()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorEnable()

    OnBehaviorStart()

    Declaration
    public void OnBehaviorStart()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorStart()

    OnBehaviorUpdate()

    Declaration
    public void OnBehaviorUpdate()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorUpdate()

    UnloadModule()

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

    Events

    BeforeSetupDefaultProviders

    Called right before default providers are setup. The list should be filled out with providers that you want this module to add before it sets up default providers.

    Declaration
    public event Action<List<IFunctionalityProvider>> BeforeSetupDefaultProviders
    Event Type
    Type Description
    Action<List<IFunctionalityProvider>>
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)