Beispiel #1
0
        private void Awake()
        {
            _headerMenuModel = ServiceLocator.Resolve <HeaderMenuModel>();

            _settingsButton.onClick.AddListener(OnSettingButtonClicked);
            _headerMenuModel.Money.OnValueChanged      += OnMoneyValueChanged;
            _headerMenuModel.Experience.OnValueChanged += OnExperienceValueChanged;
        }
Beispiel #2
0
        public IViewComponentResult Invoke()
        {
            HeaderMenuModel headerMenu = new HeaderMenuModel()
            {
                BrandName = "NLECA"
            };

            return(View(headerMenu));
        }
Beispiel #3
0
 private void Awake()
 {
     _headerMenuModel = ServiceLocator.Resolve <HeaderMenuModel>();
 }