diff options
Diffstat (limited to 'Client/Assets/Scripts/XUtliPoolLib/ILoopScrollView.cs')
-rw-r--r-- | Client/Assets/Scripts/XUtliPoolLib/ILoopScrollView.cs | 29 |
1 files changed, 29 insertions, 0 deletions
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<LoopItemData> 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);
+ }
+}
|