Exemple #1
0
 //处理面板的方法
 public override void InitPanel()
 {
     base.InitPanel();
     transform.localPosition = new Vector3(1920, 0, 0);
     transform.SetSiblingIndex(5);
     sliderScrollView.Init();
     sliderCanCoverScrollView.Init();
     ShowHelpPage();
     //TODO:其他处理
 }
Exemple #2
0
    public override void InitPanel()
    {
        base.InitPanel();

        transform.SetSiblingIndex(5);
        sliderScrollView.Init();
        sliderCanCoverScrollView.Init();
        ShowHelpPage();

        if (transform.localPosition == Vector3.zero)
        {
            gameObject.SetActive(false);
            helpPanelTween.PlayBackwards();
        }
        transform.localPosition = new Vector3(1920, 0, 0);
    }
Exemple #3
0
 public override void EnterPanel()
 {
     base.EnterPanel();
     gameObject.SetActive(true);
     theSpritePath = filePath + currentBigLevelID + "/";
     DestoryMapUI();
     UpdateMapUI(theSpritePath);
     UpdateLevelUI(theSpritePath);
     sliderScrollView.Init();
 }
Exemple #4
0
 public override void EnterPanel()
 {
     base.EnterPanel();
     sliderScrollView.Init();
     gameObject.SetActive(true);
 }