public void initPosEquipSelectPanel(EquipPosition Pos, bool isSecondJPos = false) { if (heroDetail == null) { heroDetail = FindObjectOfType <SDHeroDetail>(); } careerType = heroDetail.careerIndex; equipPos = Pos; Debug.Log(pageController); pageController.currentHeroHashcode = heroDetail.Hashcode; SDGameManager.Instance.stockUseType = SDConstants.StockUseType.work; if (Pos == EquipPosition.Head) { initHelmetSelectPanel(); } else if (Pos == EquipPosition.Breast) { initBreastplateSelectPanel(); } else if (Pos == EquipPosition.Arm) { initGardebrasSelectPanel(); } else if (Pos == EquipPosition.Leg) { initLeggingSelectPanel(); } else if (Pos == EquipPosition.Finger) { isSecondJewelryPos = isSecondJPos; initJewelrySelectPanel(); } else if (Pos == EquipPosition.Hand) { initWeaponSelectPanel(); } }