ScriptableObjectを継承したクラス名のファイルを選択し、右クリックから「Create -> ScriptableObject」でアセットファイルを作成できるようにするUnity拡張。 CreateAssetMenuAttribute、というものもあると後から知りましたが汎用的に使える分これもアリかと。
初めての方はこちら:#1 プロジェクト作成と素材のインポート 前の記事:#10 プログラムを分割しよう(ダンジョン生成、キャラ配置処理) 次の記事:#12 敵の移動(ランダム、追尾)と攻撃処理を作ろう 前回までは、プレイヤーと敵の配置処理を作っ ...
In this tutorial repository and accompanying video series, you'll learn how to make a configuration-driven gun system with ScriptableObjects that will be able to have: If you're following along with ...
In the world of Unity development, ScriptableObjects offer a powerful yet often underutilized tool that can significantly streamline your workflow and improve the efficiency of your game’s ...