Пример #1
0
        private void startGame()
        {
            _bubbleShooterPrefab = Instantiate(Resources.Load(_bubbleShooterPrefabName)) as GameObject;
            _bubbleShooterPrefab.transform.position = new Vector3(0, 0, 0);
            _bubbleMatrixController = _bubbleShooterPrefab.GetComponent <BubbleMatrixController>();

            _bubbleMatrixController.startGame();
        }
		private void startGame(){
			_bubbleShooterPrefab = Instantiate(Resources.Load(_bubbleShooterPrefabName)) as GameObject;
			_bubbleShooterPrefab.transform.position = new Vector3(0,0,0);
			_bubbleMatrixController = _bubbleShooterPrefab.GetComponent<BubbleMatrixController>();
			
			_bubbleMatrixController.startGame();
				
			
			
		}