Class Component
Class for registering components
public static class Component
- Inheritance
-
Component
- Inherited Members
Methods
GetComponentID(Type)
Gets the component ID of a type
public static ComponentID GetComponentID(Type t)
Parameters
t
TypeThe type to get the component ID of
Returns
- ComponentID
The component ID
RegisterComponent<T>()
Register components with this method to be able to use them programmically. Note that components that implement an IComponent interface do not need to be registered
public static void RegisterComponent<T>()
Type Parameters
T
The type of component to implement