public void OpenPlc() { isOpen = true; gameObject.GetComponent <Animation>().Play("close2open"); // TODO: Make this work for any party member, not just the PC lastOpenedBy = stateManager.PC; OnOpen(); guiSystem.ShowModalWindow(new PlaceableWindow(guiSystem, 0.25f, 0.4f, this)); }