DecoupleAllChilds() public static method

public static DecoupleAllChilds ( Part p ) : void
p Part
return void
コード例 #1
0
ファイル: KAS_Shared.cs プロジェクト: markusbuschhoff/KAS
 public static void DecoupleFromAll(Part p) {
   if (p.parent) {
     p.decouple();
   }
   if (p.children.Count != 0) {
     KAS_Shared.DecoupleAllChilds(p);
   }
 }