private void Link() { if (linked) { return; } jobSelector = GetNode <MenuButton>("Body/Right/Button"); actionName = GetNode <Label>("Body/Right/Job/Name"); actionDescription = GetNode <Label>("Body/Right/Job/Description"); GetNode <Button>("Body/Left/Button").Connect("pressed", this, nameof(CharacterPressed)); popup = (PopupMenu)jobSelector.Call("get_popup"); popup.Connect("id_pressed", this, nameof(on_ChangeAction)); linked = true; }