RawEntityStore.CreateEntity(Archetype).md

February 25, 2024 ยท View on GitHub

Friflo.Engine.ECS

Friflo.Engine.ECS.RawEntityStore

RawEntityStore.CreateEntity(Archetype) Method

Creates a new entity with the components and tags of the given archetype

public int CreateEntity(Friflo.Engine.ECS.Archetype archetype);

Parameters

archetype Archetype

Returns

System.Int32

Contents

  1. 0.1Friflo.Engine.ECS.RawEntityStore
  2. 1RawEntityStore.CreateEntity(Archetype) Method