Documentation

Unity Engine

Unity Engine

Deconstruct(out T1, out Entity)

Clean up an existing object.
Read time 1 minuteLast updated 4 days ago

Definition

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

Deconstruct(T, Entity)

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

Parameters

item1

T
The value for
T1
.

entity

The entity

Remarks

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