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