World.CreateEntity().md

March 19, 2022 ยท View on GitHub

DefaultEcs

DefaultEcs.World

World.CreateEntity() Method

Creates a new instance of the Entity struct.
This method is not thread safe.

public DefaultEcs.Entity CreateEntity();

Returns

Entity
The created Entity.

Exceptions

System.InvalidOperationException
Max number of Entity reached.

Contents

  1. 0.1DefaultEcs.World
  2. 1World.CreateEntity() Method