Advertisement
diliupg

StopMusic

Feb 21st, 2018
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.26 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public class changeMusic : MonoBehaviour {
  5.  
  6.     // Use this for initialization
  7.     void Start () {
  8.         MusicPlayer.theMusicPlayerObject.audio.Stop();
  9.     }
  10.    
  11.     // Update is called once per frame
  12.     void Update () {
  13.    
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement