Ejemplo n.º 1
0
 void Awake()
 {
     controller   = GameObject.Find("Controller");
     soundEffects = controller.GetComponent <Destruction_SFX>();
     on           = true;
     playing      = true;
     playingSong  = soundEffects.songOne;
     playingSong.Play();
 }
Ejemplo n.º 2
0
 void Awake()
 {
     controller   = GameObject.Find("Controller");
     soundEffects = controller.GetComponent <Destruction_SFX>();
 }