UpdateChildsOrgPos() public static method

public static UpdateChildsOrgPos ( Part p, bool includeItself = false ) : void
p Part
includeItself bool
return void
Esempio n. 1
0
 private void UpdateOrgPos()
 {
     if (boomHeadLoaded)
     {
         if (this.part.hasIndirectParent(this.part.localRoot))
         {
             KAS_Shared.UpdateChildsOrgPos(this.part, false);
         }
         if (this.part.hasIndirectChild(this.part.localRoot))
         {
             KAS_Shared.UpdateChildsOrgPos(this.part, true);
         }
     }
 }