Editor ui improvements

This commit is contained in:
Braedon
2022-01-14 17:46:14 -05:00
parent 8760412bb2
commit c5b1e4a4ce
13 changed files with 8258 additions and 3575 deletions

View File

@ -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}");