Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created June 5, 2025 03:35
Show Gist options
  • Select an option

  • Save todorok1/16409c882c129becac4893c687e6f432 to your computer and use it in GitHub Desktop.

Select an option

Save todorok1/16409c882c129becac4893c687e6f432 to your computer and use it in GitHub Desktop.
シンプルRPGチュートリアル第81回 フラグの情報を定義するクラス
using System;
using System.Collections.Generic;
using UnityEngine;
namespace SimpleRpg
{
/// <summary>
/// フラグの情報を定義するクラスです。
/// </summary>
[CreateAssetMenu(fileName = "FlagData", menuName = "Scriptable Objects/SimpleRpg/FlagData")]
public class FlagNameData : ScriptableObject
{
/// <summary>
/// フラグの名前一覧です。
/// </summary>
public List<string> flagNames;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment