CommandBuffer.SetComponent_T_(int,T).md
November 22, 2024 ยท View on GitHub
Friflo.Engine.ECS
Friflo.Engine.ECS.CommandBuffer
CommandBuffer.SetComponent(int, T) Method
Obsolete. Same behavior as AddComponent(int,T).
public void SetComponent<T>(int entityId, in T component)
where T : struct, Friflo.Engine.ECS.IComponent, System.ValueType, System.ValueType;
Type parameters
T
Parameters
entityId System.Int32
component T
Implements SetComponent<T>(int, T)