diff options
author | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
commit | 6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch) | |
tree | 7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/UICommon/XUITable.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/UICommon/XUITable.cs')
-rw-r--r-- | Client/Assets/Scripts/UICommon/XUITable.cs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/UICommon/XUITable.cs b/Client/Assets/Scripts/UICommon/XUITable.cs new file mode 100644 index 00000000..dee9187f --- /dev/null +++ b/Client/Assets/Scripts/UICommon/XUITable.cs @@ -0,0 +1,32 @@ +using UILib;
+using UnityEngine;
+
+public class XUITable : MonoBehaviour, IXUITable
+{
+ private void Awake()
+ {
+ m_table = GetComponent<UITable>();
+
+ if (null == m_table)
+ {
+ Debug.LogError("null == m_table");
+ }
+ }
+
+ public void RePositionNow()
+ {
+ m_table.repositionNow = true;
+ }
+
+ public void Reposition()
+ {
+ m_table.Reposition();
+ }
+
+ public void RePositionOnlyOneLevel()
+ {
+ m_table.RepositionOnlyOneLevel();
+ }
+
+ private UITable m_table;
+}
|