/// <summary>
 /// Awake is called when the script instance is being loaded.
 /// </summary>
 void Awake()
 {
     AnimateCommonCanvas();
     EnableGameObjects();
     audioPlayer.PlayMainTheme();
     lightController.MainLightMode();
     _timeCounter  = GetComponent <TimeCounter>();
     _pointCounter = GetComponent <PointCounter>();
     _touchCounter = GetComponent <TouchCounter>();
 }
Beispiel #2
0
 /// <summary>
 /// Awake is called when the script instance is being loaded.
 /// </summary>
 void Awake()
 {
     _tc    = GameObject.Find("Game").GetComponent <TouchCounter>();
     _audio = GetComponent <AudioSource>();
 }