mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-13 12:17:39 +02:00
Editor ui improvements
This commit is contained in:
@ -53,6 +53,23 @@ namespace RhythmHeavenMania.Editor
|
||||
GridGameSelector.GetComponent<GridGameSelector>().SelectGame("Game Manager", 1);
|
||||
}
|
||||
|
||||
public void Update()
|
||||
{
|
||||
// This is buggy
|
||||
/*if (Conductor.instance.isPlaying || Conductor.instance.isPaused)
|
||||
{
|
||||
GetComponent<Selections>().enabled = false;
|
||||
GetComponent<Selector>().enabled = false;
|
||||
GetComponent<BoxSelection>().enabled = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
GetComponent<Selections>().enabled = true;
|
||||
GetComponent<Selector>().enabled = true;
|
||||
GetComponent<BoxSelection>().enabled = true;
|
||||
}*/
|
||||
}
|
||||
|
||||
public static Sprite GameIcon(string name)
|
||||
{
|
||||
return Resources.Load<Sprite>($"Sprites/Editor/GameIcons/{name}");
|
||||
|
Reference in New Issue
Block a user