Beispiel #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);
 }
Beispiel #2
0
 public override void Dispose()
 {
     SocketEvent.Dispose();
     CommonEvent.Dispose();
 }
Beispiel #3
0
 public EventManager()
 {
     SocketEvent = new SocketEvent();
     CommonEvent = new CommonEvent();
 }