Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created July 1, 2025 02:22
Show Gist options
  • Select an option

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

Select an option

Save todorok1/0ff114e6bc6406e3b9ea4096bbd2f8c4 to your computer and use it in GitHub Desktop.
シンプルRPGチュートリアル第92回 イベント実行時にひとつ先まで確認するタイルの定義クラス
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
namespace SimpleRpg
{
/// <summary>
/// イベント実行時にひとつ先まで確認するタイルの定義クラスです。
/// </summary>
[CreateAssetMenu(fileName = "ThroughTileData", menuName = "Scriptable Objects/SimpleRpg/ThroughTileData")]
public class ThroughTileData : ScriptableObject
{
/// <summary>
/// イベント実行時にひとつ先まで確認するタイルの一覧です。
/// </summary>
public List<TileBase> throughTiles;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment