Ejemplo n.º 1
0
 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>();
 }
Ejemplo n.º 3
0
 void Awake()
 {
     Obj = this;
 }