Exemple #1
0
 void Awake()
 {
     if (Application.loadedLevel != 2)
     {
         Destroy(this);
     }
     kAudioCtrl = AudioInputController.Instance;
     kSound     = SoundManager.Instance;
     StartGame += GameCtrlStart;
     EndGame   += GameCtrlEnd;
     kAudioCtrl.StartDetect();
 }
Exemple #2
0
 // Use this for initialization
 void Start()
 {
     kAudioCtrl = AudioInputController.Instance;
 }