ComponentChangedAction.md

February 25, 2024 ยท View on GitHub

Friflo.Engine.ECS

Friflo.Engine.ECS

ComponentChangedAction Enum

The modification type of a ComponentChanged event: Remove, Add or Update component.

public enum ComponentChangedAction

Fields

Add 1

An IComponent is added to an Entity.

Remove 0

An IComponent is removed from an Entity.

Update 2

An IComponent of an Entity is updated when calling AddComponent<T>() on an entity already having a component of a specific type.

Contents

  1. 0.1Friflo.Engine.ECS
  2. 1ComponentChangedAction Enum
  3. 1.1Fields