EntityRecord.Disable_T_().md

March 19, 2022 ยท View on GitHub

DefaultEcs

DefaultEcs.Command.EntityRecord

EntityRecord.Disable() Method

Disables the corresponding Entity component of type T so it does not appear in EntitySet.
This command takes 9 bytes.

public void Disable<T>();

Type parameters

T

The type of the component.

Exceptions

System.InvalidOperationException
Command buffer is full.

Contents

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