Documentation

Unity Engine


Unity Engine


Deconstruct(out T1, out T2, 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, Entity)

public void Deconstruct(out T1 item1, out T2 item2, out Entity entity)

Parameters

item1

T
The value for
T1
.

item2

T
The value for
T2
.

entity

The entity

Remarks

Objects of this type are typically created and destroyed automatically by the source generators.
Additional Resources: QueryEnumerableWithEntity<T, U>