mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-16 22:27:45 +08:00
Add CreateCell to ICell interface
This commit is contained in:
parent
dec113d2ee
commit
9a9048bcd8
@ -2,6 +2,7 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
namespace UnityExplorer.UI.Widgets.InfiniteScroll
|
namespace UnityExplorer.UI.Widgets.InfiniteScroll
|
||||||
{
|
{
|
||||||
@ -10,5 +11,7 @@ namespace UnityExplorer.UI.Widgets.InfiniteScroll
|
|||||||
int ItemCount { get; }
|
int ItemCount { get; }
|
||||||
|
|
||||||
void SetCell(ICell cell, int index);
|
void SetCell(ICell cell, int index);
|
||||||
|
|
||||||
|
ICell CreateCell(RectTransform cellTransform);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user