Exemple #1
0
        public void RegisterIntersectionEventListener(AInteractiveIntersectionListener aInteractiveIntersectionListener,
                                                      InteractiveInteractiveObjectPhysicsListener associatedInteractiveInteractiveObjectPhysicsListener)
        {
            if (RangeIntersectionListeners == null)
            {
                RangeIntersectionListeners = new List <AInteractiveIntersectionListener>();
            }

            associatedInteractiveInteractiveObjectPhysicsListener.AddPhysicsEventListener(aInteractiveIntersectionListener);
            RangeIntersectionListeners.Add(aInteractiveIntersectionListener);
        }
Exemple #2
0
 public void RegisterIntersectionEventListener(AInteractiveIntersectionListener aInteractiveIntersectionListener)
 {
     this.RangeIntersectionV2System.RegisterIntersectionEventListener(aInteractiveIntersectionListener, this.RangeGameObjectV2.InteractiveInteractiveObjectPhysicsListener);
 }