Пример #1
0
        protected override void OnLoopItemBecameVisible()
        {
            InitItem();

            m_self_tog.AddChangeCallBack(ChangeState);

            m_self_tog.SetValueWithoutOnChangedNotify(m_isChoose);
        }
Пример #2
0
 protected override void OnLoopItemBecameVisible()
 {
     if (null == m_icon_name)
     {
         return;
     }
     m_toggle.AddChangeCallBack(OnToggleChecked);
     m_icon.Sprite = m_icon_name;
     m_toggle.SetValueWithoutOnChangedNotify(isCheck);
 }