using System.Collections; using System.Collections.Generic; using UnityEngine; public class Task : MonoBehaviour { // Start is called before the first frame update void Start() { EventCenter.GetInstance().AddEventListener("MonsterDead", TaskWaitMonsterDeadDo); } public void TaskWaitMonsterDeadDo(object info) { Debug.Log("ÈÎÎñ¼Ç¼"); } }