Click or drag to resize
ComponentStatusChangedEventData Class
Event data for ComponentEnabled and ComponentDisabled events.
Inheritance Hierarchy
SystemObject
  Slash.ECS.EventsComponentStatusChangedEventData

Namespace: Slash.ECS.Events
Assembly: Slash.ECS (in Slash.ECS.dll) Version: 1.0.6018.40178
Syntax
public sealed class ComponentStatusChangedEventData

The ComponentStatusChangedEventData type exposes the following members.

Constructors
  NameDescription
Public methodComponentStatusChangedEventData
Initializes a new instance of the ComponentStatusChangedEventData class
Top
Properties
  NameDescription
Public propertyComponent
Component which status changed.
Public propertyDuration
Duration the status change lasts (in s). Null means the duration isn't determined.
Public propertyEntityId
Id of entity the component belongs to.
Public propertyIsEnabled
Indicates if the component was enabled or disabled.
Top
Methods
See Also