Some Nice UI
This commit is contained in:
@@ -25,10 +25,10 @@ public class WinSceneController : MonoBehaviour
|
||||
|
||||
button = root.Q<Button>("Button");
|
||||
|
||||
button.clicked += () => HandleStartClicked("MainMenu");
|
||||
button.clicked += () => HandleClick("MainMenu");
|
||||
}
|
||||
|
||||
private void HandleStartClicked(string sceneName)
|
||||
private void HandleClick(string sceneName)
|
||||
{
|
||||
if (!string.IsNullOrWhiteSpace(sceneName))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user