HeavenStudioPlus/Assets/Scripts/LevelEditor/GridGameSelector.cs

20 lines
422 B
C#
Raw Normal View History

2022-01-09 23:35:55 +00:00
using UnityEngine;
using UnityEngine.UI;
namespace RhythmHeavenMania.Editor
{
public class GridGameSelector : MonoBehaviour
{
public GameObject GameTitlePreview;
public void OnEnter()
{
GameTitlePreview.GetComponent<Image>().enabled = true;
}
public void OnExit()
{
GameTitlePreview.GetComponent<Image>().enabled = false;
}
}
}