summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/UILib/IXUIScrollView.cs
blob: 0d83961a28017062a32e9dd02497b12e800bd2ee (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
30
using System;
using UnityEngine;

namespace UILib
{
	public interface IXUIScrollView : IXUIObject
	{
		void UpdatePosition();

		void ResetPosition();

		void SetPosition(float pos);

		void SetDragPositionX(float pos);

		void SetCustomMovement(Vector2 movement);

		void SetDragFinishDelegate(Delegate func);

		void SetAutoMove(float from, float to, float moveSpeed);

		bool RestrictWithinBounds(bool instant);

		void MoveAbsolute(Vector3 absolute);

		void MoveRelative(Vector3 relative);

		void NeedRecalcBounds();
	}
}