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

ゲームオブジェクトまたはその親たちから type のすべてのコンポーネントを返します