ドキュメント

Unity Engine

Unity Engine

GetComponent<T>()

Returns the component of type T if the GameObject of the tile map has one attached, null if it doesn't.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public T GetComponent<T>()

Returns

Type

Description

TThe Component of type T to retrieve.