![見出し画像](https://assets.st-note.com/production/uploads/images/42656709/rectangle_large_type_2_614d184f9d357628a460a4406ae714ff.jpeg?width=1200)
Photo by
kidsnaco
Blueprint オブジェクトの継承
Blueprintの子クラスの作り方です。
Blueprintを作成し、右クリックメニューから Create Child Blueprint Classを選択します。すると子クラスができます。
親クラスのコンポーネントが継承されます。
下図は子クラスのコンポーネントです。Inheritedという括弧書きが確認できます。
子クラスのConstruction Scriptでは、親クラスのConstruction Scriptが呼び出されるようになっています。
子クラスのBegin Playは、親クラスのBegin Playを呼び出されるようになっています。