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

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

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