Open giraffesyo opened 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.
#define
UNITY_EDITOR
The example has the following code:
I was looking over the
#define
directives and it looks like to me, the second part of this,UNITY_EDITOR
, will never be evaluated.