fix EcsDebug._buffer warning in unity

This commit is contained in:
Mikhail 2024-09-27 21:48:09 +08:00
parent f9eaa81f03
commit c25fef8a5f

View File

@ -289,8 +289,10 @@ namespace DCFApixels.DragonECS
} }
} }
private MarkerData[] _stopwatchs; private MarkerData[] _stopwatchs;
#if !UNITY_5_3_OR_NEWER
[ThreadStatic] [ThreadStatic]
private static char[] _buffer; private static char[] _buffer;
#endif
public DefaultDebugService() public DefaultDebugService()
{ {