File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ namespace Supyrb
1919{
2020 public static class WebGlPlugins
2121 {
22+ #if UNITY_WEBGL
2223 [ DllImport ( "__Internal" ) ]
2324 private static extern void _SetStringVariable ( string variableName , string variableValue ) ;
2425 [ DllImport ( "__Internal" ) ]
@@ -27,18 +28,13 @@ public static class WebGlPlugins
2728 private static extern void _ShowInfoPanel ( ) ;
2829 [ DllImport ( "__Internal" ) ]
2930 private static extern void _HideInfoPanel ( ) ;
30-
31- [ DllImport ( "__Internal" ) ]
32- private static extern void _LogMemoryInfo ( uint native , uint managed , uint total ) ;
33-
3431 [ DllImport ( "__Internal" ) ]
3532 private static extern uint _GetTotalMemorySize ( ) ;
36-
3733 [ DllImport ( "__Internal" ) ]
3834 private static extern uint _GetStaticMemorySize ( ) ;
39-
4035 [ DllImport ( "__Internal" ) ]
4136 private static extern uint _GetDynamicMemorySize ( ) ;
37+ #endif
4238
4339 private static bool _infoPanelVisible = false ;
4440
You can’t perform that action at this time.
0 commit comments