diff options
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;
+}
|