Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created June 29, 2025 08:06
Show Gist options
  • Select an option

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

Select an option

Save todorok1/b678462069a4d6021e4851e59524c3b9 to your computer and use it in GitHub Desktop.
シンプルRPGチュートリアル第88回 イベントのキューの情報を保持するクラス
using UnityEngine;
namespace SimpleRpg
{
/// <summary>
/// イベントのキューの情報を保持するクラスです。
/// </summary>
public class EventQueue
{
/// <summary>
/// イベントの情報を保持するゲームオブジェクトです。
/// </summary>
public GameObject targetObj;
/// <summary>
/// イベントの実行方法です。
/// </summary>
public RpgEventTrigger rpgEventTrigger;
/// <summary>
/// イベント完了後のコールバック先です。
/// </summary>
public IEventCallback callback;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment