using System.Collections; using System.Collections.Generic; using UnityEngine; public class Other : MonoBehaviour { void Start() { EventCenter.GetInstance().AddEventListener("MonsterDead", OtherWaitMonsterDeadDo); } public void OtherWaitMonsterDeadDo(object info) { Debug.Log("其他各个对象要做的事"); } }