| Fight/GameActor/GA_NpcClientCollect.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Fight/GameActor/GA_NpcClientCollect.cs
@@ -6,6 +6,7 @@ public class GA_NpcClientCollect : GA_NpcClientFunc { public static UnityAction<uint> OnCollectFinished; private static List<uint> m_ArrivedList = new List<uint>(); public static event UnityAction<uint, int> OnArrive; public static event UnityAction<uint, int> OnLeave; @@ -168,6 +169,13 @@ { ClientSceneManager.Instance.NpcDead(belongEventID, this, NpcConfig.NPCID); } else { if (OnCollectFinished != null) { OnCollectFinished(ServerInstID); } } GAMgr.Instance.Release(this); }