mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-26 19:43:01 +00:00
22 lines
No EOL
519 B
C#
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());
|
|
}
|
|
}
|
|
} |