CommandBuffer.AddScript_T_(int,T).md
June 6, 2024 ยท View on GitHub
Friflo.Engine.ECS
Friflo.Engine.ECS.CommandBuffer
CommandBuffer.AddScript(int, T) Method
Add the given script to the entity with the passed entityId.
public void AddScript<T>(int entityId, T script)
where T : Friflo.Engine.ECS.Script, new();
Type parameters
T
Parameters
entityId System.Int32
script T
Implements AddScript<T>(int, T)