UnityのAddComponentについて調べてみた - Qiita

AddComponentできるのはMonoBehaviourクラスを継承しているコンポーネントだけ。 MonoBehaviourは Behaviourクラス->Componentクラス->UnityEngine.Objectクラスを継承しています。 一見Componentク...