add test
1. MaxTargets 上限 2. 战斗中开关不生效 3. AOE 使用“请求时快照”而不是结算时实时状态
This commit is contained in:
@@ -67,8 +67,11 @@ namespace CustomComponent
|
||||
|
||||
private void OnDestroy()
|
||||
{
|
||||
GameEntry.Event.Unsubscribe(ShowEntitySuccessEventArgs.EventId, OnShowEntitySuccess);
|
||||
GameEntry.Event.Unsubscribe(HideEntityCompleteEventArgs.EventId, OnHideEntityComplete);
|
||||
if (GameEntry.Event != null)
|
||||
{
|
||||
GameEntry.Event.Unsubscribe(ShowEntitySuccessEventArgs.EventId, OnShowEntitySuccess);
|
||||
GameEntry.Event.Unsubscribe(HideEntityCompleteEventArgs.EventId, OnHideEntityComplete);
|
||||
}
|
||||
|
||||
_enemies = null;
|
||||
_enemyById = null;
|
||||
|
||||
Reference in New Issue
Block a user