using UnityEngine; public class TutorialTrigger : MonoBehaviour { private void Start() { } private void Update() { } public void OnTriggerEnter(Collider other) { Debug.Log(other.tag); if ((bool)TutorialManager.Instance && other.tag == "Player") { Debug.Log("COLIDER SOBIE IDZIE "); TutorialManager.Instance.CheckLessonPopUp(0); } } }