public override void OnMessageReceive(TyphenApi.IRealTimeMessage message) { #if UNITY_EDITOR Game.Logger.LogWithGreen("[WebSocketApi] Receive " + message.GetType().Name + " Message:", message); #endif }
public override void OnBeforeMessageSend(TyphenApi.IRealTimeMessage message) { #if UNITY_EDITOR Game.Logger.LogWithBlue("[WebSocketApi] Send " + message.GetType().Name + " Message:", message); #endif }