コード例 #1
0
        private Vector3 GetItemLocalPosition(BaseListViewItem listViewItem, int index)
        {
            var posX = (index % listViewItem.LineCount) * listViewItem.ItemWidth;
            var posY = -(index / listViewItem.LineCount) * listViewItem.ItemHeight;

            return(new Vector3(posX, posY, 0));
        }
コード例 #2
0
 private void OnItemUpdate(BaseListViewItem item, int index)
 {
     if (_internalItemUpdate != null)
     {
         _internalItemUpdate(item, index);
     }
 }