// Update is called once per frame /* * void MenuConsole() * { * MenuPanel.SetActive(true); * } */ void OnTriggerEnter2D(Collider2D thisTrigger) { if (thisTrigger.gameObject.tag == "Character") { audioController.ClearSound(); if (tutorialPanel != null) { tutorialPanel.SetActive(false); } clearPanel.SetActive(true); } }