public void ClickEvent() { if (PickUpObject) { inputManager.objectInHand = objectInMyHand; objectInMyHand.HoldUp(); PickUpObject = false; } else if (computerAvailable) { ContextMenu.SetActive(true); TempUI.SetActive(false); computerMenu.SetActive(true); } else if (NPCCAvailable) { ContextMenu.SetActive(true); TempUI.SetActive(true); computerMenu.SetActive(false); TempUI_Text.text = "You are studying " + currentTalkingTarget; } else if (NPCSAvailable) { ContextMenu.SetActive(true); TempUI.SetActive(true); computerMenu.SetActive(false); TempUI_Text.text = "You are having a conversation with " + currentTalkingTarget; } }