|
Nebula
|
Public Member Functions | |
| uint | GetComponentId< T > () |
| Retrieve the component id for a given NativeComponent. | |
| void | RegisterComponent (Type type, uint id) |
| Registers a type to an id. | |
Package Functions | |
| void | ClearPluginComponents (System.Reflection.Assembly assembly) |
| Clears all registered components that belong to a specific assembly. | |
Properties | |
| static ComponentManager | Instance [get] |
| Gets the manager instance. | |
Private Member Functions | |
| ComponentManager () | |
Static Private Member Functions | |
| static | ComponentManager () |
Private Attributes | |
| readonly Dictionary< Type, uint > | componentRegistry = [] |
Static Private Attributes | |
| static readonly ComponentManager | instance = new ComponentManager() |
|
inlinestaticprivate |
|
inlineprivate |
|
inlinepackage |
Clears all registered components that belong to a specific assembly.
|
inline |
Retrieve the component id for a given NativeComponent.
| T | : | NativeComponent |
|
inline |
Registers a type to an id.
|
private |
|
staticprivate |
|
staticget |
Gets the manager instance.