Documentation

Unity Engine


Unity Engine


Deconstruct(out T1, out T2, out T3, out T4, out Entity)

Clean up an existing object.
Read time 1 minuteLast updated a day ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

Deconstruct(T, T, T, T, Entity)

public void Deconstruct(out T1 item1, out T2 item2, out T3 item3, out T4 item4, out Entity entity)

Parameters

item1

T
The value for
T1
.

item2

T
The value for
T2
.

item3

T
The value for
T3
.

item4

T
The value for
T4
.

entity

The entity

Remarks

Objects of this type are typically created and destroyed automatically by the source generators.