summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XUtliPoolLib/ILoopScrollView.cs
blob: 6b222927c3ccfcf3850b79cc192c34fe58a1fa38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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);
	}
}