-
-
Save todorok1/4e0a5edc445f118c8f8bc62f05172458 to your computer and use it in GitHub Desktop.
シンプルRPGチュートリアル第24回 キャラクターに関する設定を定義するクラス
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using UnityEngine; | |
namespace SimpleRpg | |
{ | |
/// <summary> | |
/// レベルとパラメータの対応を定義するクラスです。 | |
/// </summary> | |
[CreateAssetMenu(fileName = "ParameterTable", menuName = "Scriptable Objects/SimpleRpg/ParameterTable")] | |
public class ParameterTable : ScriptableObject | |
{ | |
/// <summary> | |
/// 対応するキャラクターのIDです。 | |
/// </summary> | |
public int characterId; | |
/// <summary> | |
/// レベルとパラメータの対応レコードのリストです。 | |
/// </summary> | |
public List<ParameterRecord> parameterRecords; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment