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-15 05:20:47 +00:00
|
|
|
Tooltip.instance.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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|