This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

UQuery.QueryBuilder<T0>.First

Declaration

public T First();

Returns

T The first element matching all the criteria, or null if none was found.

Description

Convenience overload, shorthand for Build().First().

See Also: UQuery.QueryState<T>.First.