Exemplo n.º 1
0
        public void RegisterIntersectionEventListener(AInteractiveIntersectionListener aInteractiveIntersectionListener,
                                                      InteractiveInteractiveObjectPhysicsListener associatedInteractiveInteractiveObjectPhysicsListener)
        {
            if (RangeIntersectionListeners == null)
            {
                RangeIntersectionListeners = new List <AInteractiveIntersectionListener>();
            }

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