Click or drag to resize

PartModuleUtilsDropEvent Method

Removes the specified event from the part module.

Namespace:  KSPDev.PartUtils
Assembly:  KSPDev_Utils.1.1 (in KSPDev_Utils.1.1.dll) Version: 1.1 for KSP v1.6+
Syntax
C#
public static void DropEvent(
	PartModule module,
	BaseEvent partEvent
)
Request Example View Source

Parameters

module
Type: (Default Namespace)PartModule
The part module to remove the event from.
partEvent
Type: (Default Namespace)BaseEvent
The event to remove.
Remarks
It's ok if the event being removed doesn't exist on the part. The call will just silently return.
See Also