예제 #1
0
    public void closeRuneSetPanel()
    {
        currentSubPanelType = subPanelType.none;
        //
        UIEffectManager.Instance.hideAnimFadeOut(runePanel);
        HEWPageController page = runePanel.GetComponentInChildren <HEWPageController>();

        page.ResetPage();
        GoddessPV.GetComponent <CanvasGroup>().DOFade(1f, 0.1f);
        //
        SDGD.transform.DOMove(GD_normal_place.position, GD_animTime);
    }
예제 #2
0
 public override void whenOpenThisPanel()
 {
     base.whenOpenThisPanel();
     //AllGoddesses = Resources.LoadAll<GoddessInfo>("ScriptableObjects/生物列表");
     GoddessPV.maxIndex = SDDataManager.Instance.PlayerData
                          .goddessOwned.Count - 1;
     refreshGoddessList();
     currentSubPanelType = subPanelType.none;
     runePanel.gameObject.SetActive(false);
     //SDGI.gameObject.SetActive(false);
     SDGD.transform.position = GD_normal_place.position;
 }
예제 #3
0
    public void ShowRuneSetPanel()
    {
        if (currentSubPanelType == subPanelType.rune)
        {
            return;
        }
        currentSubPanelType = subPanelType.rune;
        //
        UIEffectManager.Instance.showAnimFadeIn(runePanel);
        HEWPageController page = runePanel.GetComponentInChildren <HEWPageController>();

        page.ItemsInit(SDConstants.ItemType.Rune);
        GoddessPV.GetComponent <CanvasGroup>().DOFade(0.5f, 0.1f);
        //
        SDGD.transform.DOMove(GD_rune_place.position, GD_animTime);
    }