| | |
| | | private List<HB405_tagMCAddExp> hB405_tagMCAddExps = new List<HB405_tagMCAddExp>(); |
| | | public BattleHeroInfoBar heroInfoBar; |
| | | |
| | | public bool isReborning = false; |
| | | |
| | | public BattleObject(BattleField _battleField) |
| | | { |
| | | battleField = _battleField; |
| | |
| | | // 复活action |
| | | public void OnReborn(HB427_tagSCUseSkill.tagSCUseSkillHurt vNetData, bool reviveSelf = false) |
| | | { |
| | | isReborning = true; |
| | | heroGo.SetActive(true); |
| | | motionBase.ResetForReborn(reviveSelf); |
| | | heroRectTrans.anchoredPosition = Vector2.zero; |
| | |
| | | { |
| | | // 清空所有 |
| | | motionBase.ResetForReborn(false); |
| | | isReborning = false; |
| | | } |
| | | |
| | | |