File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ namespace com.tvd12.ezyfoxserver.client.unity
55{
66 public class EzyWSProxy
77 {
8+ #if UNITY_WEBGL && ! UNITY_EDITOR
89 [ DllImport ( "__Internal" ) ]
910 public static extern void setEventHandlerCallback (
1011 EzyDelegates . EventHandlerDelegate callback
@@ -35,5 +36,33 @@ public static extern void run4(
3536 String jsonData ,
3637 EzyDelegates . Delegate2 callback
3738 ) ;
39+ #else
40+ public static void setEventHandlerCallback (
41+ EzyDelegates . EventHandlerDelegate callback
42+ ) { }
43+
44+ public static void setDataHandlerCallback (
45+ EzyDelegates . DataHandlerDelegate callback
46+ ) { }
47+
48+ public static void setDebug ( bool debug ) { }
49+
50+ public static bool isMobile ( ) {
51+ return false ;
52+ }
53+
54+ public static void run3 (
55+ String clientName ,
56+ String functionName ,
57+ EzyDelegates . Delegate2 callback
58+ ) { }
59+
60+ public static void run4 (
61+ String clientName ,
62+ String functionName ,
63+ String jsonData ,
64+ EzyDelegates . Delegate2 callback
65+ ) { }
66+ #endif
3867 }
3968}
You can’t perform that action at this time.
0 commit comments