public void RegisterIntersectionEventListener(ARangeIntersectionV2Listener ARangeIntersectionV2Listener, RangeObjectV2PhysicsEventListenerComponent associatedRangeObjectV2PhysicsEventListenerComponent) { if (RangeIntersectionListeners == null) { RangeIntersectionListeners = new List <ARangeIntersectionV2Listener>(); } associatedRangeObjectV2PhysicsEventListenerComponent.AddPhysicsEventListener(ARangeIntersectionV2Listener); RangeIntersectionListeners.Add(ARangeIntersectionV2Listener); }
public void RegisterIntersectionEventListener(ARangeIntersectionV2Listener ARangeIntersectionV2Listener) { this.RangeIntersectionV2System.RegisterIntersectionEventListener(ARangeIntersectionV2Listener, this.RangeGameObjectV2.RangeObjectV2PhysicsEventListenerComponent); }