Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 945 Bytes

Entity.Get_T_().md

File metadata and controls

26 lines (17 loc) · 945 Bytes

Entity.Get() Method

Gets the component of type T on the current Entity.

public ref T Get<T>();

Type parameters

T

The type of the component.

Returns

T
A reference to the component.

Exceptions

System.Exception
Entity was not created from a World or does not have a component of type T.