Scriptum/Assets/Scripts/REFACTORING/Story/Dungeon/EntryEventObserver.cs

26 lines
435 B
C#
Raw Normal View History

2023-01-07 23:46:54 +01:00
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();
}
}