Finally perfected grid game selector

This commit is contained in:
Braedon
2022-01-16 19:40:14 -05:00
parent 5fb90e8212
commit d4ac426612
8 changed files with 227 additions and 155 deletions

View File

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