summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/UILib/IXUITool.cs
blob: a049175f2b37340203bf6c3c2e7bb3e16176cecb (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
using System;
using UnityEngine;

namespace UILib
{
	public interface IXUITool
	{
		void SetActive(GameObject obj, bool state);

		void SetLayer(GameObject go, int layer);

		void SetUIEventFallThrough(GameObject obj);

		void SetUIGenericEventHandle(GameObject obj);

		void ShowTooltip(string str);

		void RegisterLoadUIAsynEventHandler(LoadUIAsynEventHandler eventHandler);

		Camera GetUICamera();

		void PlayAnim(Animation anim, string strClipName, AnimFinishedEventHandler eventHandler);

		void MarkParentAsChanged(GameObject go);

		void Destroy(UnityEngine.Object obj);

		void SetUIDepthDelta(GameObject go, int delta);

		string GetLocalizedStr(string key);

		Vector2 CalculatePrintedSize(string text);

		void ReleaseAllDrawCall();

		void HideGameObject(GameObject go);

		void ShowGameObject(GameObject go, IXUIPanel panel);

		void ChangePanel(GameObject go, IUIRect parent, IXUIPanel panel);

		void ChangePanel(GameObject go, IUIRect parent, IUIPanel panel);

		void SetRootPanelUpdateFreq(int count);

		void PreLoad(bool load);

		void EnableUILoadingUpdate(bool enable);

		void SetUIOptOption(bool globalMerge, bool selectMerge, bool lowDeviceMerge);
	}
}