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