|
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. | |
Properties | |
| static ComponentManager | Instance [get] |
| Gets the manager instance. | |
Private Member Functions | |
| ComponentManager () | |
Static Private Member Functions | |
| static | ComponentManager () |
Private Attributes | |
| Dictionary< Type, uint > | componentRegistry = new Dictionary<Type, uint>() |
Static Private Attributes | |
| static readonly ComponentManager | instance = new ComponentManager() |
|
inlinestaticprivate |
|
inlineprivate |
|
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.