예제 #1
0
 internal LaunchClamp(Part part)
 {
     Part        = part;
     launchClamp = part.InternalPart.Module <global::LaunchClamp> ();
     if (launchClamp == null)
     {
         throw new ArgumentException("Part is not a launch clamp");
     }
 }
예제 #2
0
 internal LaunchClamp(Part part)
 {
     this.part   = part;
     launchClamp = part.InternalPart.Module <global::LaunchClamp> ();
     if (launchClamp == null)
     {
         throw new ArgumentException("Part does not have a LaunchClamp PartModule");
     }
 }