Exemplo n.º 1
0
        private void Awake()
        {
            //_boxModel = new BoxModel();

            _generatorController.OnStoreInstantiatedBox = () =>
            {
                _boxModel.ListOfBox.Add(_generatorController.GetView().BoxInstantiated);
            };

            _movementController.OnSetLastBox = () =>
            {
                SetLastBox(_boxModel.ListOfBox[_activatorController.GetModel().CurrentActiveBox].transform);
            };

            _cutTheBoxController.OnAddScore = () =>
            {
                _boxModel.Score++;
            };
        }