diff --git a/DBC.cs b/DBC.cs index 723b271..7105eb4 100644 --- a/DBC.cs +++ b/DBC.cs @@ -1,4 +1,5 @@ using System; +using System.Diagnostics; namespace DBC.ECS { diff --git a/Svelto.ECS/EntityDescriptor.cs b/Svelto.ECS/EntityDescriptor.cs index 1fdb54f..db1bc4c 100644 --- a/Svelto.ECS/EntityDescriptor.cs +++ b/Svelto.ECS/EntityDescriptor.cs @@ -1,5 +1,4 @@ using System; -using DBC; using Svelto.DataStructures; namespace Svelto.ECS diff --git a/Svelto.ECS/EntityViewUtility.cs b/Svelto.ECS/EntityViewUtility.cs index 736a828..fb421eb 100644 --- a/Svelto.ECS/EntityViewUtility.cs +++ b/Svelto.ECS/EntityViewUtility.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using Svelto.DataStructures; using Svelto.ECS; using Svelto.Utilities; -using Console = Utility.Console; static class EntityViewUtility { @@ -53,7 +52,7 @@ static class EntityViewUtility #if DEBUG && !PROFILER else { - Console.LogError(NULL_IMPLEMENTOR_ERROR.FastConcat("Type ", entityDescriptorName, " entityView ", entityViewBuilder.GetEntityType().ToString())); + Utility.Console.LogError(NULL_IMPLEMENTOR_ERROR.FastConcat("Type ", entityDescriptorName, " entityView ", entityViewBuilder.GetEntityType().ToString())); } #endif } @@ -79,7 +78,7 @@ static class EntityViewUtility } #if DEBUG && !PROFILER if (component.numberOfImplementations > 1) - Console.LogError(DUPLICATE_IMPLEMENTOR_ERROR.FastConcat( + Utility.Console.LogError(DUPLICATE_IMPLEMENTOR_ERROR.FastConcat( "Component Type: ", fieldType.Name, " implementor: ", component.implementorType.ToString()) + diff --git a/Svelto.ECS/Profiler/Editor/Svelto.ECS.Profiler.asmdef b/Svelto.ECS/Profiler/Editor/Svelto.ECS.Profiler.asmdef new file mode 100644 index 0000000..7004a52 --- /dev/null +++ b/Svelto.ECS/Profiler/Editor/Svelto.ECS.Profiler.asmdef @@ -0,0 +1,13 @@ +{ + "name": "Svelto.ECS.Profiler", + "references": [ + "Svelto.ECS", + "Svelto.Common" + ], + "optionalUnityReferences": [], + "includePlatforms": [ + "Editor" + ], + "excludePlatforms": [], + "allowUnsafeCode": false +} \ No newline at end of file