Entity.AddTag_TTag_().md

July 25, 2024 ยท View on GitHub

Friflo.Engine.ECS

Friflo.Engine.ECS.Entity

Entity.AddTag() Method

Add the given TTag to the entity.
See Example.

public bool AddTag<TTag>()
    where TTag : struct, Friflo.Engine.ECS.ITag, System.ValueType, System.ValueType;

Type parameters

TTag

Returns

System.Boolean

Contents

  1. 0.1Friflo.Engine.ECS.Entity
  2. 1Entity.AddTag() Method