mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 11:45:09 +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());
|
|
}
|
|
}
|
|
} |