EntityRecord.SetSameAsWorld_T_().md

March 19, 2022 ยท View on GitHub

DefaultEcs

DefaultEcs.Command.EntityRecord

EntityRecord.SetSameAsWorld() Method

Sets the value of the component of type T on the corresponding Entity to the same instance of its World.
This command takes 9 bytes.

public void SetSameAsWorld<T>();

Type parameters

T

The type of the component.

Exceptions

System.InvalidOperationException
Command buffer is full.

Contents

  1. 0.1DefaultEcs.Command.EntityRecord
  2. 1EntityRecord.SetSameAsWorld() Method