summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/UICommon/XUITable.cs
blob: dee9187fc7263895d824e09a1f1ec85120ed94fb (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
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;
}