diff options
author | chai <chaifix@163.com> | 2021-01-27 14:15:08 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-27 14:15:08 +0800 |
commit | 1fe4ffba72f56ccc6a89d1896142425c666887d4 (patch) | |
tree | e469b6fea9454938d3a26444982be4b25de37103 /Client/Assets/Scripts/UILib/IXUITool.cs | |
parent | 310103405588040c7bc777c802273556343cae92 (diff) |
+UILib 反编译
Diffstat (limited to 'Client/Assets/Scripts/UILib/IXUITool.cs')
-rw-r--r-- | Client/Assets/Scripts/UILib/IXUITool.cs | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/UILib/IXUITool.cs b/Client/Assets/Scripts/UILib/IXUITool.cs new file mode 100644 index 00000000..a049175f --- /dev/null +++ b/Client/Assets/Scripts/UILib/IXUITool.cs @@ -0,0 +1,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);
+ }
+}
|