Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 970 Bytes

ComponentCloner.Set_T_(T,bool).md

File metadata and controls

30 lines (18 loc) · 970 Bytes

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.