From 9f256ae1c1ebbf26d1dd28a66b6423fb45f7cffa Mon Sep 17 00:00:00 2001 From: sebas77 Date: Thu, 14 Jun 2018 14:35:18 +0100 Subject: [PATCH] fix asm def --- DBC.cs | 1 + Svelto.ECS/EntityDescriptor.cs | 1 - Svelto.ECS/EntityViewUtility.cs | 5 ++--- .../Profiler/Editor/Svelto.ECS.Profiler.asmdef | 13 +++++++++++++ 4 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 Svelto.ECS/Profiler/Editor/Svelto.ECS.Profiler.asmdef 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