public static void UnsubscribeFromTruckGrabbedEvent(TruckGrabbedEventHandler handler) { if (UnloadTruck == null) { FindUnloadTruckComponent(); } if (UnloadTruck != null) { UnloadTruck.UnsubscribeFromTruckGrabbedEvent(handler); } }
public void UnsubscribeFromTruckGrabbedEvent(TruckGrabbedEventHandler handler) { TruckGrabbedEvent -= handler; }
public void SubscribeToTruckGrabbedEvent(TruckGrabbedEventHandler handler) { TruckGrabbedEvent += handler; }