Scriptum/Assets/Scripts/REFACTORING/Story/Dungeon/EntryEventObserver.cs
2023-01-07 23:46:54 +01:00

26 lines
435 B
C#

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();
}
}