Field Composite
State if the type, template pair is a composite type. Must be used only for structs that contains multiple fields of the same type (ex: float3). Whan a type is configured as composite, the Template model is used recursively on all the fields to generate the serialization code, without the need to crate a specific template for the struct itself.
Namespace: Unity.NetCode.Generators
Assembly: solution.dll
Syntax
public bool Composite
Returns
Type | Description |
---|---|
bool |