HeavenStudioPlus/Assets/Scripts/LevelEditor/GridGameSelectorGame.cs

22 lines
No EOL
519 B
C#

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());
}
}
}