public T GetComponent ();

Returns

T The Component of type T to retrieve.

Description

Returns the component of type T if the GameObject of the tile map has one attached, null if it doesn't.

Дженерик функции. Для получения дополнительной информации смотрите страницу, посвященную Дженерик функциям.