Exemplo n.º 1
0
 /// <summary>
 /// 事件轮询
 /// </summary>
 /// <param name="deltaTime">逻辑流逝时间,以秒为单位</param>
 /// <param name="unscaledDeltaTime">真实流逝时间,以秒为单位</param>
 internal void OnUpdate(float deltaTime, float unscaledDeltaTime)
 {
     SocketEvent.OnUpdate(deltaTime, unscaledDeltaTime);
     CommonEvent.OnUpdate(deltaTime, unscaledDeltaTime);
 }
Exemplo n.º 2
0
 public override void Dispose()
 {
     SocketEvent.Dispose();
     CommonEvent.Dispose();
 }
Exemplo n.º 3
0
 public EventManager()
 {
     SocketEvent = new SocketEvent();
     CommonEvent = new CommonEvent();
 }