PartModuleUtilsAddEvent Method |
Namespace: KSPDev.PartUtils
public static void AddEvent( PartModule module, BaseEvent partEvent )
This method will not add the same event twice. So it's safe to call it multiple times for the same event object.
The name of the event may be used by the other modules to get the event. So keeping it unique may be needed to not break the behavior of the part.