Documentation

Unity Engine

Download Unity

Unity Engine

HasBuffer<T>()

Checks whether this GameObject has a Buffer of T elements, an IBufferElementData.
Read time 1 minuteLast updated 6 hours ago

Definition

public bool HasBuffer<T>() where T : unmanaged, IBufferElementData

Returns

Type

Description

boolTrue if the GameObject exists and has the Buffer.

Remarks

Doesn't wait for any jobs.