Beispiel #1
0
		void Awake ()
		{
			_cam = GameObject.FindObjectOfType<CamPanAndZoom>();
			_gameStatsManager = GameObject.FindObjectOfType<GameStatsManager>();
			_gameManager = GameObject.FindObjectOfType<GameManager>();
			_levelInstantiator = GameObject.FindObjectOfType<LevelInstantiator>();
		}
Beispiel #2
0
		void Awake () 
		{
			_cam = GameObject.FindObjectOfType<CamPanAndZoom>();
			_gameManager = GameObject.FindObjectOfType<GameManager>();
		}