public void RetractAll() { if (this.part.GetComponent <ModuleDeployablePart>().deployState == ModuleDeployablePart.DeployState.EXTENDED) { PEAR.ToggleExtendables(false); } }
public void ExtendAll() { if (this.part.GetComponent <ModuleDeployablePart>().deployState == ModuleDeployablePart.DeployState.RETRACTED) { PEAR.ToggleExtendables(true); } }