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;
|
|
|
|
|
2022-01-15 05:20:47 +00:00
|
|
|
private void Start()
|
2022-01-11 00:17:29 +00:00
|
|
|
{
|
2022-01-18 00:40:23 +00:00
|
|
|
Tooltip.AddTooltip(this.gameObject, this.gameObject.name);
|
2022-01-11 00:17:29 +00:00
|
|
|
}
|
|
|
|
|
2022-01-15 05:20:47 +00:00
|
|
|
public void OnClick()
|
2022-01-11 00:17:29 +00:00
|
|
|
{
|
2022-01-15 05:20:47 +00:00
|
|
|
GridGameSelector.SelectGame(this.gameObject.name, this.transform.GetSiblingIndex());
|
2022-01-11 00:17:29 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|