 | ComponentRemovedDelegateT Delegate |
Delegate for registering for when a component of a specific type was removed.
Namespace: Slash.ECS.ComponentsAssembly: Slash.ECS (in Slash.ECS.dll) Version: 1.0.6018.40178
Syntaxpublic delegate void ComponentRemovedDelegate<in T>(
int entityId,
T component
)
Public Delegate Sub ComponentRemovedDelegate(Of In T) (
entityId As Integer,
component As T
)
generic<typename T>
public delegate void ComponentRemovedDelegate(
int entityId,
T component
)
type ComponentRemovedDelegate =
delegate of
entityId : int *
component : 'T -> unit
Parameters
- entityId
- Type: SystemInt32
Id of entity the component was removed from. - component
- Type: T
Component which was removed.
Type Parameters
- T
- Type of component to register for.
See Also