private void Awake() { strumValue = 0.0f; eventSystem = GetComponent <EventSystem>(); difficultyScript = difficultyGameObject.GetComponent <DifficultyScript>(); audioManagerScript = audioManager.GetComponent <MainMenuAudioManager>(); LoadMainMenu(); }
private void Start() { if (instance == null) { instance = this; } audio = GetComponent <AudioSource>(); }
void Awake() { Obj = this; }