private void Interact() { if (isActive && Input.GetKeyDown(KeyCode.Mouse0)) { // play a sound if (myQuestItem.myQuestStatus == QuestEnums.QuestStatus.ACTIVE) { myAudioManager.AchivementSFX(); } // Debug.Log("activated picture camera!"); if (myPictureCamera != null) { myPictureCamera.focusOnPicture = true; } if (myQuestItem.myQuestStatus == QuestEnums.QuestStatus.ACTIVE) { myGameManager.UpdateQuests(myQuestItem); } // if this is the bear, tell the painting that it got picked up if (myQuestItem.isBear) { myPaintingManager.GetBear(); Debug.Log("Picked up Bear!"); } } }