Browse Source

better comments

tags/2.7
sebas77 5 years ago
parent
commit
985972fd7e
2 changed files with 2 additions and 6 deletions
  1. +1
    -2
      Svelto.ECS/CheckEntityUtilities.cs
  2. +1
    -4
      Svelto.ECS/EnginesRoot.GenericEntityFunctions.cs

+ 1
- 2
Svelto.ECS/CheckEntityUtilities.cs View File

@@ -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));


+ 1
- 4
Svelto.ECS/EnginesRoot.GenericEntityFunctions.cs View File

@@ -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(),


Loading…
Cancel
Save