From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Assets/Scripts/XUtliPoolLib/ILoopScrollView.cs | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Client/Assets/Scripts/XUtliPoolLib/ILoopScrollView.cs (limited to 'Client/Assets/Scripts/XUtliPoolLib/ILoopScrollView.cs') diff --git a/Client/Assets/Scripts/XUtliPoolLib/ILoopScrollView.cs b/Client/Assets/Scripts/XUtliPoolLib/ILoopScrollView.cs new file mode 100644 index 00000000..6b222927 --- /dev/null +++ b/Client/Assets/Scripts/XUtliPoolLib/ILoopScrollView.cs @@ -0,0 +1,29 @@ +using System; +using System.Collections.Generic; +using UnityEngine; + +namespace XUtliPoolLib +{ + public interface ILoopScrollView + { + GameObject gameobject { get; } + + void Init(List datas, DelegateHandler onItemInitCallback, Action onDragfinish, int pivot = 0, bool forceRefreshPerTime = false); + + GameObject GetTpl(); + + bool IsScrollLast(); + + void ResetScroll(); + + void SetDepth(int delpth); + + GameObject GetFirstItem(); + + GameObject GetLastItem(); + + void AddItem(LoopItemData data); + + void SetClipSize(Vector2 size); + } +} -- cgit v1.1-26-g67d0