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); }
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; }
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); }