Ejemplo n.º 1
0
    private void addClick()
    {
        _zjClose.onClick.AddListener(delegate
        {
            //DestoryPanel();
            ClosePanel();
        });
        _jlClose.onClick.AddListener(delegate
        {
            _zhanji.gameObject.SetActive(true);
            _jilu.gameObject.SetActive(false);
        });
        _xqClose.onClick.AddListener(delegate
        {
            _xiangqing.gameObject.SetActive(false);
            _jilu.gameObject.SetActive(true);
        });
        _before.onClick.AddListener(delegate
        {
            if (_curPage > 1)
            {
                _curPage -= 1;
                ProtoReq.historyTableReq(_curPage);
            }
        });

        _after.onClick.AddListener(delegate
        {
            if (_curPage < _sumPage)
            {
                _curPage += 1;
                ProtoReq.historyTableReq(_curPage);
            }
        });
    }
Ejemplo n.º 2
0
    public override void startUp(object obj = null)
    {
        base.startUp(obj);
        _zhanji.gameObject.SetActive(true);
        _jilu.gameObject.SetActive(false);
        _xiangqing.gameObject.SetActive(false);

        _zjInfo.gameObject.SetActive(false);
        _zjNone.gameObject.SetActive(true);
        ProtoReq.historyTableReq(_curPage);
    }