Ejemplo n.º 1
0
 void Awake()
 {
     mzTimer = GameObject.Find ("MzTimerLabel").GetComponent<MzTimer>();
     mzSoundEffect = GameObject.Find("MzSoundEffect").GetComponent<MzSoundEffect>();
     mzAudioListener = GameObject.Find("Player").GetComponent<AudioListener>();
     mzReadyClear = GameObject.Find("MzSoundEffect").GetComponent<AudioListener>();
     cameraController = GameObject.Find("CameraController").GetComponent<CameraController>();
     mzBGM = GameObject.Find ("MzBGM").GetComponent<AudioSource>();
     playerRenderer = GameObject.Find ("Player").GetComponent<MeshRenderer> ();
 }
Ejemplo n.º 2
0
 void Start()
 {
     mzSoundEffect = GameObject.Find("MzSoundEffect").GetComponent<MzSoundEffect>();
 }
Ejemplo n.º 3
0
 void Awake()
 {
     mzSoundEffect = GameObject.Find("MzSoundEffect").GetComponent<MzSoundEffect>();
     mzTimer = GameObject.Find ("MzTimerLabel").GetComponent<MzTimer> ();
     playerFootSound = GameObject.Find ("Player").GetComponent<FootSound> ();
     playerSpotlight = GameObject.Find ("PlayerSpotlight").GetComponent<Light> ();
 }