mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-09-21 05:55:59 +08:00
Add CreateCell to ICell interface
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user