ComponentCloner.Set_T_(T,bool).md

March 19, 2022 ยท View on GitHub

DefaultEcs

DefaultEcs.ComponentCloner

ComponentCloner.Set(T, bool) Method

Sets the given component on the copied entity.

protected void Set<T>(in T component, bool isEnabled);

Type parameters

T

The type of the component.

Parameters

component T

The value of the component.

isEnabled System.Boolean

Whether the component is enabled or not on the source Entity.

Contents

  1. 0.1DefaultEcs.ComponentCloner
  2. 1ComponentCloner.Set(T, bool) Method