public void Add(EventCallbackFunctorBase item) { this.m_List.Add(item); if (item.phase == CallbackPhase.CaptureAndTarget) { this.capturingCallbackCount++; } else if (item.phase == CallbackPhase.TargetAndBubbleUp) { this.bubblingCallbackCount++; } }
public void Add(EventCallbackFunctorBase item) { m_List.Add(item); if (item.phase == CallbackPhase.TrickleDownAndTarget) { trickleDownCallbackCount++; } else if (item.phase == CallbackPhase.TargetAndBubbleUp) { bubbleUpCallbackCount++; } }