「Unityでゲームを作る際、キャラや武器のステータスをどう管理すればいいか分からない」 ハードコードすると変更が大変で、データ管理も難しくなってしまいます。この記事では、UnityのScriptableObjectを使って、キャラや武器などのステータスを外部データ ...
ゲームを作成するときマリオなどの横スクロールゲームなら不要な要素ではありますが、ドラクエなどのようなRPGゲームにはステータスの管理が必須となります。 ステータス用の変数を作ってStatus[HP][MP][ATK]…とか配列でやる方法もありますがそんな ...
This package can be installed through the Unity Package Manager with Unity version 2019.3 or greater. Open up the package manager Window/Package Manager and click on ...
What is a Scriptable Data Asset? A Scriptable Data Asset, in the context of this repository, is a ScriptableObject that is automatically instantiated and can be accessed from anywhere in your code ...