Compare commits

..

5 Commits

Author SHA1 Message Date
DCFApixels
26df930329 up version to 0.2.6 2025-03-15 17:09:19 +08:00
DCFApixels
543534f447 defines refactoring 2025-03-15 15:10:47 +08:00
DCFApixels
a38975cc7d defines refactoring 2025-03-14 16:53:39 +08:00
DCFApixels
2faa845b31 add .md extension for LICENSE 2025-03-14 14:24:23 +08:00
DCFApixels
daa707ea0b Update .gitignore 2025-01-06 10:51:46 +08:00
7 changed files with 15 additions and 4 deletions

1
.gitignore vendored
View File

@ -35,6 +35,7 @@ ExportedObj/
*.csproj
*.unityproj
*.sln
*.sln.meta
*.suo
*.tmp
*.user

View File

View File

@ -8,7 +8,7 @@
"displayName": "DragonECS-ClassicThreads",
"description": "Classic C# Multithreading for DragonECS",
"unity": "2020.3",
"version": "0.2.5",
"version": "0.2.6",
"repository": {
"type": "git",
"url": "https://github.com/DCFApixels/DragonECS-ClassicThreads.git"

View File

@ -1,4 +1,8 @@
namespace DCFApixels.DragonECS
#if DISABLE_DEBUG
#undef DEBUG
#endif
namespace DCFApixels.DragonECS
{
public static class EcsCollectionsExtensions
{

View File

@ -1,4 +1,7 @@
using System;
#if DISABLE_DEBUG
#undef DEBUG
#endif
using System;
namespace DCFApixels.DragonECS
{

View File

@ -1,3 +1,6 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.ClassicThreadsInternal;
using System;
using System.Collections.Concurrent;
@ -69,7 +72,7 @@ namespace DCFApixels.DragonECS
{
if (_isRunning)
{
#if (DEBUG && !DISABLE_DEBUG) || ENABLE_DRAGONECS_ASSERT_CHEKS
#if DEBUG || DRAGONECS_STABILITY_MODE
if (_threads.Any(o => o.thread == Thread.CurrentThread))
{
Throw.DoubleParallelIteration();