public static void ShowGUI(ELBuildControl.IBuilder pad) { padInstance = pad; nameField.text = pad.Name; if (windowInstance != null) { windowInstance.enabled = true; } }
public AirstreamShield(ELBuildControl.IBuilder builder) { this.builder = builder; }
void OnDestroy() { Debug.Log("[ELRenameWindow] OnDestroy"); windowInstance = null; padInstance = null; }
public void PlaceHull(ELBuildControl.IBuilder builder, GameObject hullObject) { builder.PlaceShip(hullObject.transform, bounds); hullObject.transform.SetParent(builder.part.transform, true); }