EntityRecord.CopyTo(World).md

March 19, 2022 ยท View on GitHub

DefaultEcs

DefaultEcs.Command.EntityRecord

EntityRecord.CopyTo(World) Method

Creates a copy of current EntityRecord with all of its components in the given World.

public DefaultEcs.Command.EntityRecord CopyTo(DefaultEcs.World world);

Parameters

world World

The World instance to which copy current EntityRecord and its components.

Returns

EntityRecord
The created EntityRecord in the given World.

Exceptions

System.ArgumentNullException
world was null.