public void Awake() { uManager = BaseGameManager.Instance; BaseGameManager.SetInstance(uManager); _commandMap = uManager.commandMap; _modelMap = uManager.modelMap; _mediatorMap = uManager.mediatorMap; _dispatcher = uManager.dispatcher; Init(); Bindings(); }
public Command() { _uManager = BaseGameManager.GetInstance(); _dispatcher = _uManager.dispatcher; }
public Mediator() { _uManager = BaseGameManager.GetInstance(); _dispatcher = _uManager.dispatcher; }