void UpdateEntityName(EcsEntity entity, bool requestComponents) { var entityId = entity.GetInternalId(); var entityName = entityId.ToString("D8"); if (entity.IsAlive() && requestComponents) { var count = entity.GetComponentTypes(ref _componentTypesCache); for (var i = 0; i < count; i++) { entityName = $"{entityName}:{EditorHelpers.GetCleanGenericTypeName (_componentTypesCache[i])}"; _componentTypesCache[i] = null; } } EntityGameObjects[entityId].name = entityName; }