HeavenStudioPlus/Assets/Scripts/LevelEditor/EventSelector/GridGameSelectorGame.cs

22 lines
519 B
C#
Raw Normal View History

2022-01-11 00:17:29 +00:00
using UnityEngine;
using UnityEngine.UI;
namespace RhythmHeavenMania.Editor
{
public class GridGameSelectorGame : MonoBehaviour
{
public GameObject GameTitlePreview;
public GridGameSelector GridGameSelector;
private void Start()
2022-01-11 00:17:29 +00:00
{
Tooltip.instance.AddTooltip(this.gameObject, this.gameObject.name);
2022-01-11 00:17:29 +00:00
}
public void OnClick()
2022-01-11 00:17:29 +00:00
{
GridGameSelector.SelectGame(this.gameObject.name, this.transform.GetSiblingIndex());
2022-01-11 00:17:29 +00:00
}
}
}