Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1015 Bytes

WorldRecord.Set_T_().md

File metadata and controls

24 lines (16 loc) · 1015 Bytes

WorldRecord.Set() Method

Sets the value of the component of type T to its default value on the corresponding World.
For a blittable component, this command takes 7 bytes + the size of the component.
For non blittable component, this command takes 11 bytes and may cause some allocation because of boxing on struct component type.

public void Set<T>();

Type parameters

T

The type of the component.

Exceptions

System.InvalidOperationException
Command buffer is full.