0312 优化boss战场返回武将图片空白问题;boss战场失败无法退出问题
| | |
| | | if (tmpHero != null) |
| | | { |
| | | AutoFightModel.Instance.fightingHeroSkinID = tmpHero.SkinID; |
| | | fightHeroImg.SetOrgSprite(HeroSkinConfig.Get(AutoFightModel.Instance.fightingHeroSkinID).SquareIcon, "HeroHead"); |
| | | } |
| | | else |
| | | { |
| | | Debug.LogError("没有找到下一个攻击武将"); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | fightHeroImg.SetOrgSprite(HeroSkinConfig.Get(AutoFightModel.Instance.fightingHeroSkinID).SquareIcon, "HeroHead"); |
| | | } |
| | | |
| | | void OnSkillCast(bool isfighting) |
| | |
| | | |
| | | [SerializeField] Button tipEquipBtn; |
| | | [SerializeField] Button tipHeroPosBtn; |
| | | string battleName = "ArenaBattleField"; |
| | | string battleName = "StoryBossBattleField"; |
| | | protected override void InitComponent() |
| | | { |
| | | tipEquipBtn.AddListener(() => |