UnityのAddComponentについて調べてみた - Qiita
AddComponentできるのはMonoBehaviourクラスを継承しているコンポーネントだけ。MonoBehaviourはBehaviourクラス->Componentクラス->Unity…