GameObject-GetComponents - Unity スクリプトリファレンス

Gets references to all components of type T on the specified GameObject.