IsPackable Interface |
Namespace: KSPDev.KSPInterfaces
The IsPackable type exposes the following members.
Name | Description | |
---|---|---|
![]() | OnPartPack | Triggers when physics stops on the part. |
![]() | OnPartUnpack | Triggers when physics starts on the part. |
public class MyModule : PartModule, IsPackable { /// <inheritdoc/> public void OnPartPack() { Debug.Log("OnPartPack"); } /// <inheritdoc/> public void OnPartUnpack() { Debug.Log("OnPartUnpack); } }