示例#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);
 }