public void CorrectInteraction() { PuzzleManagement.TorchSolved = true; Debug.Log("Torch Solved!"); TurulSaysIgenSound.start(); torchFlame.SetActive(true); lockViewScript.LockOnToTargetObject(gameObject.transform.position); MouseClicks.currentCorrectAnswer = "Tűz"; textGraphic.transform.position = gameObject.transform.position; Vector3 correction = new Vector3(0, 0.65f, 0); textGraphic.transform.position += correction; textGraphic.SetActive(true); }
public void CorrectInteraction() { PuzzleManagement.PinwheelSolved = true; Debug.Log("Pinwheel Solved!"); TurulSaysIgenSound.start(); pinwheelSoundsHolder.SetActive(true); GetComponent <Animator>().enabled = true; lockViewScript.LockOnToTargetObject(gameObject.transform.position); MouseClicks.currentCorrectAnswer = "szél"; textGraphic.transform.position = gameObject.transform.position; Vector3 correction = new Vector3(0, 0.65f, 0); textGraphic.transform.position += correction; textGraphic.SetActive(true); }
public void CorrectInteraction() { PuzzleManagement.FlowerPotSolved = true; Debug.Log("Flower Pot Solved"); TurulSaysIgenSound.start(); lockViewScript.LockOnToTargetObject(gameObject.transform.position); FilledPot.SetActive(true); gameObject.SetActive(false); MouseClicks.currentCorrectAnswer = "föld"; textGraphic.transform.position = gameObject.transform.position; Vector3 correction = new Vector3(0, 0.65f, 0); textGraphic.transform.position += correction; textGraphic.SetActive(true); }