示例#1
0
        private void OnHourSnapTargetChanged(LoopListView2 listView, LoopListViewItem2 item)
        {
            int indexInShownItemList = listView.GetIndexInShownItemList(item);

            if (indexInShownItemList < 0)
            {
                return;
            }
            this.mCurSelectedHour = ((ListItem7)((Component)item).GetComponent <ListItem7>()).Value;
            this.OnListViewSnapTargetChanged(listView, indexInShownItemList);
        }
示例#2
0
    private void OnMaxLevelChanged(LoopListView2 listView, LoopListViewItem2 item)
    {
        int index = listView.GetIndexInShownItemList(item);

        if (index < 0)
        {
            return;
        }
        LevelLimitItem itemScript = item.GetComponent <LevelLimitItem>();

        m_LevelMax = itemScript.Level;
    }
示例#3
0
        void OnHourSnapTargetChanged(LoopListView2 listView, LoopListViewItem2 item)
        {
            int index = listView.GetIndexInShownItemList(item);

            if (index < 0)
            {
                return;
            }
            ListItem7 itemScript = item.GetComponent <ListItem7>();

            mCurSelectedHour = itemScript.Value;
            OnListViewSnapTargetChanged(listView, index);
        }