18 lines
385 B
C#
18 lines
385 B
C#
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("ÈÎÎñ¼Ç¼");
|
|
}
|
|
}
|