Пример #1
0
    void PlayIdleMusic()
    {
        int song = UnityEngine.Random.Range(0, 4);

        //Debug.Log("Reproduciendo música de reposo");
        musicScript.PlaySong(song, 0, 0);
    }
Пример #2
0
    void PlayIdleMusic()
    {
        int song = UnityEngine.Random.Range(0, 2);

        Debug.Log("Reproduciendo música de reposo: " + song);
        musicScript.PlaySong(song, 0, 0);

        /*   timeLeft = UnityEngine.Random.Range(minDelay, maxDelay);
         * resetTimer = false;
         */
    }
Пример #3
0
 // Start is called before the first frame update
 void Start()
 {
     musicScript.PlaySong(0, 0, 0.5f);
 }
Пример #4
0
 //
 public void PlaySong(int song, int layer)
 {
     grumble.PlaySong(song, layer);
 }
Пример #5
0
 public void OpenMenu()
 {
     gA.PlaySong(0, 0);
 }
Пример #6
0
 void hitFadeIn()
 {
     gA.PlaySong(activeSong, activeLayer, fadeInTime);
 }
Пример #7
0
 private void Start()
 {
     _amp = GetComponent <grumbleAMP>();
     _amp.PlaySong(0, 0);
 }
Пример #8
0
 void Start()
 {
     SetUp();
     amp.PlaySong(0, 0, 0);
     Invoke("StartMusic", referenceClip.length - 2.0f);
 }