Skip to content

UpdateEntityCallback

UpdateEntityCallback<T>: (obj, index) => void

A callback function used to update or initialize an entity.

Type Parameters

T = InstancedEntity

Parameters

obj: Entity<T>

index: number

Returns

void

Defined in

core/feature/Instances.ts:13