From 985972fd7ec41dc08fa46bfbb2e2e4575be01bc9 Mon Sep 17 00:00:00 2001 From: sebas77 Date: Thu, 24 Jan 2019 17:41:45 +0000 Subject: [PATCH] better comments --- Svelto.ECS/CheckEntityUtilities.cs | 3 +-- Svelto.ECS/EnginesRoot.GenericEntityFunctions.cs | 5 +---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Svelto.ECS/CheckEntityUtilities.cs b/Svelto.ECS/CheckEntityUtilities.cs index 70b6442..d947b1e 100644 --- a/Svelto.ECS/CheckEntityUtilities.cs +++ b/Svelto.ECS/CheckEntityUtilities.cs @@ -28,8 +28,7 @@ namespace Svelto.ECS } else { - Console.LogError("Entity ".FastConcat(" with not found ID is about to be removed: ") - .FastConcat(" id: ") + Console.LogError("Entity with not found ID is about to be removed: id: " .FastConcat(entityID.entityID) .FastConcat(" groupid: ") .FastConcat(entityID.groupID)); diff --git a/Svelto.ECS/EnginesRoot.GenericEntityFunctions.cs b/Svelto.ECS/EnginesRoot.GenericEntityFunctions.cs index a68f575..9de4b31 100644 --- a/Svelto.ECS/EnginesRoot.GenericEntityFunctions.cs +++ b/Svelto.ECS/EnginesRoot.GenericEntityFunctions.cs @@ -100,13 +100,10 @@ namespace Svelto.ECS entitySubmitOperation.trace = Environment.StackTrace; var egid = new EGID(entitySubmitOperation.ID, entitySubmitOperation.fromGroupID); if (_entitiesOperationsDebug.ContainsKey((long)egid) == true) - Console.LogError("Only one entity operation per submission is allowed. Entity " - .FastConcat(" with not found ID is about to be removed: ") - .FastConcat(" id: ") + Console.LogError("Only one entity operation per submission is allowed. id: " .FastConcat(entitySubmitOperation.ID) .FastConcat(" groupid: ") .FastConcat(entitySubmitOperation.fromGroupID) - //.FastConcat(entitySubmitOperation.fromGroupID.GetType().Name)); do this later .FastConcat(" entityType: ") .FastConcat(typeof(T).Name) .FastConcat(" submission type ", entitySubmitOperation.type.ToString(),