endel / NativeWebSocket

🔌 WebSocket client for Unity - with no external dependencies (WebGL, Native, Android, iOS, UWP)
Other
1.13k stars 155 forks source link

Question about example #46

Open giraffesyo opened 3 years ago

giraffesyo commented 3 years ago

The example has the following code:

  void Update()
  {
    #if !UNITY_WEBGL || UNITY_EDITOR
      websocket.DispatchMessageQueue();
    #endif
  }

I was looking over the #define directives and it looks like to me, the second part of this, UNITY_EDITOR, will never be evaluated.