using System; using Framework; using UnityEngine; public class FightWinCmp: MonoBehaviour { private void Awake() { EventManager.Instance.Send(EventManager.EventName.FightCmpAwake, this); } private void OnDestroy() { EventManager.Instance.Send(EventManager.EventName.FightCmpUnLoad); } }