| | |
| | | private set; |
| | | } |
| | | |
| | | protected BattleDrops battleDrops; |
| | | |
| | | private RectTransform m_heroRectTrans; |
| | | |
| | | public RectTransform heroRectTrans |
| | |
| | | motionBase.PlayAnimation(MotionName.idle, true); |
| | | } |
| | | |
| | | public void PushExpPackList(List<HB405_tagMCAddExp> _hB405_tagMCAddExps) |
| | | public void PushDropItems(BattleDrops _battleDrops) |
| | | { |
| | | // YYL TODO 死亡后弹出经验掉落提醒 |
| | | hB405_tagMCAddExps = _hB405_tagMCAddExps; |
| | | battleDrops = _battleDrops; |
| | | } |
| | | |
| | | public void DropExp() |
| | | public void PerformDrop() |
| | | { |
| | | // YYL TODO |
| | | // hB405_tagMCAddExps |
| | | if (null == battleDrops) |
| | | return; |
| | | |
| | | EventBroadcast.Instance.Broadcast<string, BattleDrops, Action>( |
| | | EventName.BATTLE_DROP_ITEMS, battleField.guid, battleDrops, OnPerformDropFinish); |
| | | } |
| | | |
| | | protected void OnPerformDropFinish() |
| | | { |
| | | battleDrops = null; |
| | | } |
| | | |
| | | |