当 Moving 是可启用组件时,最后的 Debug.Log 输出什么?

来自 Unity DOTS
Unity 6.6 / Entities 1.4.8 / Burst 1.8.30 进阶 2分钟

当 Moving 是可启用组件时,最后的 Debug.Log 输出什么?

csharp
var archetype = manager.CreateArchetype(typeof(Moving));
var units = manager.CreateEntity(archetype, 2, Allocator.Temp);

manager.SetComponentEnabled<Moving>(units[0], false);

var query = manager.CreateEntityQuery(typeof(Moving));
Debug.Log(query.CalculateEntityCount());
units.Dispose();
在试验场中打开
报告错误