mirror of
https://github.com/DCFApixels/DragonECS-ClassicThreads.git
synced 2025-09-17 19:24:37 +08:00
code cleanup
This commit is contained in:
parent
68b5abc9ee
commit
6bde3981dd
@ -8,7 +8,7 @@ namespace DCFApixels.DragonECS
|
|||||||
{
|
{
|
||||||
#if ENABLE_IL2CPP
|
#if ENABLE_IL2CPP
|
||||||
using Unity.IL2CPP.CompilerServices;
|
using Unity.IL2CPP.CompilerServices;
|
||||||
[Il2CppSetOption (Option.NullChecks, false)]
|
[Il2CppSetOption(Option.NullChecks, false)]
|
||||||
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
|
||||||
#endif
|
#endif
|
||||||
internal static class ThreadRunner
|
internal static class ThreadRunner
|
||||||
@ -168,10 +168,10 @@ namespace DCFApixels.DragonECS
|
|||||||
|
|
||||||
#if ENABLE_IL2CPP
|
#if ENABLE_IL2CPP
|
||||||
// Unity IL2CPP performance optimization attribute.
|
// Unity IL2CPP performance optimization attribute.
|
||||||
namespace Unity.IL2CPP.CompilerServices
|
namespace Unity.IL2CPP.CompilerServices
|
||||||
{
|
{
|
||||||
using System;
|
using System;
|
||||||
internal enum Option
|
internal enum Option
|
||||||
{
|
{
|
||||||
NullChecks = 1,
|
NullChecks = 1,
|
||||||
ArrayBoundsChecks = 2,
|
ArrayBoundsChecks = 2,
|
||||||
|
Loading…
Reference in New Issue
Block a user