private void DoObjectAction() { if (currentInteractionObjScript.pickup) { currentInteractionObjScript.Pickup(); } if (currentInteractionObjScript.message) { currentInteractionObjScript.Info(); } }