Example #1
0
        public override void Awake()
        {
            m_currentCounter.OnValueChanged((_, newValue) =>
            {
                txt_counter.text = string.Format(
                    m_I18N.GetText("txt_cur_counter", "common", "Current count: {0}"), newValue);
            });


            btn_click.onClick.AddListener(() =>
            {
                m_currentCounter.Value++;
            });
        }