public void SetUpPropertyPromotionView(HLHNPC npc, CallBack quitCallBack)
        {
            this.npc          = npc;
            this.quitCallBack = quitCallBack;

            HLHPropertyPromotion propertyPromotion_1 = npc.propertyPromotionList[0];
            HLHPropertyPromotion propertyPromotion_2 = npc.propertyPromotionList[1];

            propertyPromotionText_1.text = propertyPromotion_1.GetPropertyPromotionTint();
            propertyPromotionText_2.text = propertyPromotion_2.GetPropertyPromotionTint();

            propertyPromotionPriceText_1.text = propertyPromotion_1.promotionPrice.ToString();
            propertyPromotionPriceText_2.text = propertyPromotion_2.promotionPrice.ToString();

            propertyPromotionIcon_1.sprite = GetPropertySprite(propertyPromotion_1.propertyType);
            propertyPromotionIcon_2.sprite = GetPropertySprite(propertyPromotion_2.propertyType);

            this.gameObject.SetActive(true);
        }
        public void OnPropertyPromotionSelect(int index)
        {
            HLHPropertyPromotion propertyPromotion = npc.propertyPromotionList[index];

            if (Player.mainPlayer.totalGold < propertyPromotion.promotionPrice)
            {
                tintHUD.SetUpSingleTextTintHUD("金币不足");
                return;
            }

            Player.mainPlayer.totalGold -= propertyPromotion.promotionPrice;

            PlayerPropertyChange(propertyPromotion.propertyType, propertyPromotion.promotion);

            string tint = propertyPromotion.GetPropertyPromotionTint();

            tintHUD.SetUpSingleTextTintHUD(tint);

            ExploreManager.Instance.expUICtr.UpdatePlayerStatusBar();
        }