HeavenStudio/Assets/Scripts/LevelEditor/EventSelector/GridGameSelectorGame.cs
2022-01-17 19:40:23 -05:00

22 lines
510 B
C#

using UnityEngine;
using UnityEngine.UI;
namespace RhythmHeavenMania.Editor
{
public class GridGameSelectorGame : MonoBehaviour
{
public GameObject GameTitlePreview;
public GridGameSelector GridGameSelector;
private void Start()
{
Tooltip.AddTooltip(this.gameObject, this.gameObject.name);
}
public void OnClick()
{
GridGameSelector.SelectGame(this.gameObject.name, this.transform.GetSiblingIndex());
}
}
}