Esempio n. 1
0
        public void Awake()
        {
            uManager = BaseGameManager.Instance;
            BaseGameManager.SetInstance(uManager);

            _commandMap = uManager.commandMap;
            _modelMap = uManager.modelMap;
            _mediatorMap = uManager.mediatorMap;
            _dispatcher = uManager.dispatcher;

            Init();
            Bindings();
        }
Esempio n. 2
0
 public Command()
 {
     _uManager = BaseGameManager.GetInstance();
     _dispatcher = _uManager.dispatcher;
 }
Esempio n. 3
0
 public Mediator()
 {
     _uManager = BaseGameManager.GetInstance();
     _dispatcher = _uManager.dispatcher;
 }