Click or drag to resize
EntityComponentData Constructor
Constructs a new data object holding information on a component event.

Namespace: Slash.ECS.Events
Assembly: Slash.ECS (in Slash.ECS.dll) Version: 1.0.6018.40178
Syntax
public EntityComponentData(
	int entityId,
	IEntityComponent component
)

Parameters

entityId
Type: SystemInt32
Id of the entity the component event has been fired for.
component
Type: Slash.ECS.ComponentsIEntityComponent
Component that has been interacted with.
Exceptions
ExceptionCondition
ArgumentNullException Passed component is null.
See Also