You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Driftology/Assets/GameUIManager.cs

21 lines
404 B
C#

using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class GameUIManager : MonoBehaviour
{
[Header("NOS UI")]
public Image boostBarFill;
public Button boostButton;
public static GameUIManager Instance;
private void Awake()
{
Instance = this;
}
public void MainMenuSceneLoader()
{
SceneManager.LoadScene("Menu");
}
}