/// <summary> /// Subscribes a delegate to vehicle destroyed event /// </summary> /// <param name="delegateMethod">Delegate</param> public void SubscribeToVehicleDestroyedEvent(OnVehicleDestroyedDelegate delegateMethod) { this.OnVehicleDestroyedEvent += delegateMethod; }
/// <summary> /// Unsubscribes from vehicle destroyed event /// </summary> /// <param name="delegateMethod">Delegate</param> public void UnsubscribeFromVehicleDestroyedEvent(OnVehicleDestroyedDelegate delegateMethod) { this.OnVehicleDestroyedEvent -= delegateMethod; }