public T GetComponent ();

반환

T The Component of type T to retrieve.

설명

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

Generic version. See the Generic Functions page for more details.