Example #1
0
        public static void UnsubscribeFromTruckGrabbedEvent(TruckGrabbedEventHandler handler)
        {
            if (UnloadTruck == null)
            {
                FindUnloadTruckComponent();
            }

            if (UnloadTruck != null)
            {
                UnloadTruck.UnsubscribeFromTruckGrabbedEvent(handler);
            }
        }
Example #2
0
 public void UnsubscribeFromTruckGrabbedEvent(TruckGrabbedEventHandler handler)
 {
     TruckGrabbedEvent -= handler;
 }
Example #3
0
 public void SubscribeToTruckGrabbedEvent(TruckGrabbedEventHandler handler)
 {
     TruckGrabbedEvent += handler;
 }