Class ModuleLoaderCore | Unity Reflect | 1.0.0-preview.11
docs.unity3d.com
    Show / Hide Table of Contents

    Class ModuleLoaderCore

    Inheritance
    Object
    ScriptableSettingsBase
    ScriptableSettingsBase<ModuleLoaderCore>
    ScriptableSettings<ModuleLoaderCore>
    ModuleLoaderCore
    Inherited Members
    ScriptableSettings<ModuleLoaderCore>.instance
    ScriptableSettings<ModuleLoaderCore>.CreateAndLoad()
    ScriptableSettingsBase<ModuleLoaderCore>.s_Instance
    ScriptableSettingsBase<ModuleLoaderCore>.OnEnable()
    ScriptableSettingsBase<ModuleLoaderCore>.Save(String)
    ScriptableSettingsBase<ModuleLoaderCore>.GetFilePath()
    ScriptableSettingsBase.k_PathExceptionMessage
    ScriptableSettingsBase.GetInstanceByType(Type)
    Namespace: Unity.Labs.ModuleLoader
    Syntax
    [ScriptableSettingsPath("ModuleLoaderSettings")]
    public class ModuleLoaderCore : ScriptableSettings<ModuleLoaderCore>

    Fields

    SettingsPath

    Declaration
    public const string SettingsPath = "ModuleLoaderSettings"
    Field Value
    Type Description
    String

    UserSettingsFolder

    Declaration
    public const string UserSettingsFolder = "ModuleLoaderUserSettings"
    Field Value
    Type Description
    String

    Properties

    isUnloadingModules

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

    modules

    Declaration
    public List<IModule> modules { get; }
    Property Value
    Type Description
    List<IModule>

    ModulesAreLoaded

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

    Methods

    GetModule<T>()

    Declaration
    public T GetModule<T>()
        where T : IModule
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetModuleParent()

    Declaration
    public GameObject GetModuleParent()
    Returns
    Type Description
    GameObject

    GetModuleTypes(List<Type>)

    Declaration
    public static void GetModuleTypes(List<Type> moduleTypes)
    Parameters
    Type Name Description
    List<Type> moduleTypes

    InjectFunctionalityInModules(FunctionalityIsland)

    Declaration
    public void InjectFunctionalityInModules(FunctionalityIsland island)
    Parameters
    Type Name Description
    FunctionalityIsland island

    LoadModules()

    Declaration
    public void LoadModules()

    OnBehaviorAwake()

    Declaration
    public void OnBehaviorAwake()

    OnBehaviorDestroy()

    Declaration
    public void OnBehaviorDestroy()

    OnBehaviorDisable()

    Declaration
    public void OnBehaviorDisable()

    OnBehaviorEnable()

    Declaration
    public void OnBehaviorEnable()

    OnBehaviorStart()

    Declaration
    public void OnBehaviorStart()

    OnBehaviorUpdate()

    Declaration
    public void OnBehaviorUpdate()

    OnLoaded()

    Declaration
    protected override void OnLoaded()
    Overrides
    ScriptableSettingsBase.OnLoaded()

    ReloadModules()

    Declaration
    public void ReloadModules()

    UnloadModules()

    Declaration
    public void UnloadModules()

    Events

    ModulesLoaded

    Declaration
    public event Action ModulesLoaded
    Event Type
    Type Description
    Action
    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