protected override void OnAwake() { base.OnAwake(); m_EventManager = new EventManager(); SocketEvent = m_EventManager.SocketEvent; CommonEvent = m_EventManager.CommonEvent; }
public EventManager() { SocketEvent = new SocketEvent(); CommonEvent = new CommonEvent(); }