WorldRecord.CreateEntity().md

March 19, 2022 ยท View on GitHub

DefaultEcs

DefaultEcs.Command.WorldRecord

WorldRecord.CreateEntity() Method

Records the creation of an Entity on a World and returns an EntityRecord to record action on it.
This command takes 9 bytes.

public DefaultEcs.Command.EntityRecord CreateEntity();

Returns

EntityRecord
The EntityRecord used to record actions on the later created Entity.

Exceptions

System.InvalidOperationException
Command buffer is full.

Contents

  1. 0.1DefaultEcs.Command.WorldRecord
  2. 1WorldRecord.CreateEntity() Method