Core class for Module Loader packageThis is the entry point for loading modules and a hub for all callbacks and methods to access/control modules
- Moduleload Back_ Backend
- Module Loader Java
- Module Loader Java
- Module Loader
- Moduleload
- Module Loader Javascript
- Module Loader Jar
Inheritance
- ModuleLoader can load a module directly (this is the default behavior), or you can turn off automatic loading by setting autoLoad to false, and perform the load of each module on demand. This example shows a Jewel Card with a ModuleLoader and a button that triggers the load.
- When using graphql-tools, you define your field resolvers separately from the schema.Since the schema already describes all of the fields, arguments, and result types, the only thing left is a collection of functions that are called to actually execute these fields.
The Latitude standard library is separated into two portions: the core library and the standard modules. The core library is the portion of the standard library which is imported into the Latitude VM at startup, containing things like Kernel and Object.
Inherited Members
Namespace: Unity.XRTools.ModuleLoader
Syntax
Fields
ModuleLoaderAssetsFolder
Root folder for all assets automatically generated by ModuleLoader
Declaration
Field Value
Type | Description |
---|---|
String |
SettingsPath
Declaration
Field Value
Moduleload Back_ Backend
Type | Description |
---|---|
String |
UserSettingsFolder
Default folder for user settings assets
Declaration
Field Value
Type | Description |
---|---|
String |
Properties
isUnloadingModules
True if Module Loader is in the process of unloading modules
Declaration
Property Value
Type | Description |
---|---|
Boolean |
modules
Declaration
Property Value
Type | Description |
---|---|
List<IModule> |
ModulesAreLoaded
True if modules have been loaded
Declaration
Property Value
Type | Description |
---|---|
Boolean |
Methods
GetCurrentPlatform()
Get the current platform for the purposes of provider selectionThs will return the value of Application.platform, except in the editor in playmode if the Override Platformin Playmode setting is enabled. Then it will use the selected override platform.
Declaration
Returns
Type | Description |
---|---|
RuntimePlatform | The runtime platform which should be used in provider selection |
GetModule<T>()
Get the module of the given type, if it has been loaded
Declaration
Returns
Type | Description |
---|---|
T | The module, if it has been loaded, or the default value for that type |
Type Parameters
Name | Description |
---|---|
T | The type of module |
GetModuleParent()
Get or create the GameObject to which all MonoBehaviour modules are added as children
Declaration
Returns
Type | Description |
---|---|
GameObject | The module parent object |
GetModuleTypes(List<Type>)
Declaration
Parameters
Type | Name | Description |
---|---|---|
List<Type> | moduleTypes | The list to which modules will be added |
InjectFunctionalityInModules(FunctionalityIsland)
Inject functionality on all modules using the provided FunctionalityIsland
Declaration
Parameters
Type | Name | Description |
---|---|---|
FunctionalityIsland | island | The functionality island to use for functionality injection |
LoadModules()
Load all modules, except those whose types are excluded by Module Loader settings
Declaration
OnBehaviorAwake()
Invoke OnBehaviorAwake callback on all behavior callback modules
Declaration
OnBehaviorDestroy()
Module Loader Java
Invoke OnBehaviorDestroy callback on all behavior callback modules
Declaration
OnBehaviorDisable()
Invoke OnBehaviorDisable callback on all behavior callback modules
Declaration
OnBehaviorEnable()
Invoke OnBehaviorEnable callback on all behavior callback modules
Declaration
OnBehaviorStart()
Invoke OnBehaviorStart callback on all behavior callback modules
Declaration
OnBehaviorUpdate()
Invoke OnBehaviorUpdate callback on all behavior callback modules
Declaration
Module Loader Java
OnLoaded()
Function called when all scriptable settings are loaded and ready for use
Declaration
Module Loader
Overrides
ReloadModules()
Declaration
UnloadModules()
Unload all modules
Declaration
Moduleload
Events
ModulesLoaded
Invoked when modules are loaded, after all calls to LoadModule
Declaration
Module Loader Javascript
Event Type
Module Loader Jar
Type | Description |
---|---|
Action |