Example #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();
        }
Example #2
0
 public Command()
 {
     _uManager = BaseGameManager.GetInstance();
     _dispatcher = _uManager.dispatcher;
 }
Example #3
0
 public Mediator()
 {
     _uManager = BaseGameManager.GetInstance();
     _dispatcher = _uManager.dispatcher;
 }