using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; class EntryEventObserver : MonoBehaviour { private void Start() { } private void Update() { } public void LeveEventInfo() { GameObject.FindObjectOfType<DungeonManager>().gameObject.GetComponent<DungeonManager>().ChangeState(); } }