HeavenStudio/Assets/Scripts/LevelEditor/EventSelector/GridGameSelectorGame.cs
2022-03-14 07:21:05 -07:00

22 lines
505 B
C#

using UnityEngine;
using UnityEngine.UI;
namespace HeavenStudio.Editor
{
public class GridGameSelectorGame : MonoBehaviour
{
public GameObject GameTitlePreview;
public GridGameSelector GridGameSelector;
private void Start()
{
Tooltip.AddTooltip(this.gameObject, this.gameObject.name);
}
public void OnClick()
{
GridGameSelector.SelectGame(this.gameObject.name, this.transform.GetSiblingIndex());
}
}
}