summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/UILib/IXUIPanel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/UILib/IXUIPanel.cs')
-rw-r--r--Client/Assets/Scripts/UILib/IXUIPanel.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/UILib/IXUIPanel.cs b/Client/Assets/Scripts/UILib/IXUIPanel.cs
new file mode 100644
index 00000000..43e4d8a7
--- /dev/null
+++ b/Client/Assets/Scripts/UILib/IXUIPanel.cs
@@ -0,0 +1,32 @@
+using System;
+using UnityEngine;
+
+namespace UILib
+{
+ public interface IXUIPanel : IXUIObject
+ {
+ Vector2 offset { get; set; }
+
+ Vector2 softness { get; set; }
+
+ Vector4 ClipRange { get; set; }
+
+ Action onMoveDel { get; set; }
+
+ Component UIComponent { get; }
+
+ void SetSize(float width, float height);
+
+ void SetCenter(float width, float height);
+
+ void SetAlpha(float a);
+
+ float GetAlpha();
+
+ void SetDepth(int d);
+
+ int GetDepth();
+
+ Vector4 GetBaseRect();
+ }
+}