Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created February 20, 2025 16:03
Show Gist options
  • Save todorok1/be3a62cc75eda8f13056d91db20e0ef8 to your computer and use it in GitHub Desktop.
Save todorok1/be3a62cc75eda8f13056d91db20e0ef8 to your computer and use it in GitHub Desktop.
シンプルRPGチュートリアル第23回 魔法の効果に関する設定を保持するクラス
using System;
namespace SimpleRpg
{
/// <summary>
/// 魔法の効果に関する設定を保持するクラスです。
/// </summary>
[Serializable]
public class MagicEffect
{
/// <summary>
/// 魔法のカテゴリです。
/// </summary>
public MagicCategory magicCategory;
/// <summary>
/// 魔法の効果範囲です。
/// </summary>
public EffectTarget effectTarget;
/// <summary>
/// 効果量です。
/// </summary>
public int value;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment