UIを管理するScene、メインScript、GameObject、子Prefabの役割を分離する。 Scene(親となるシーン) ゲーム全体を構成する場所。 StoryManager などのメインScriptを持つGameObjectを配置する UIパネルのPrefabを配置する 各パネルとメインScriptの参照をInspectorで設定する ...
本当に良い機能なのか? 山村達彦氏(以下、山村):ここまでがんばって紹介してきましたが、実際問題として「こんな機能いらない!」というケースがけっこう多いです。 Animator Controllerを使うより、どちらかと言えばスクリプトで制御したほうが楽に ...
Separate the roles of the Scene managing the UI, the main Script, the GameObject, and the child Prefabs. Select the parent GameObject of the panel in the Hierarchy. Organize the child objects required ...