protected override void OnPreUpdate() { Span <Vector3> lines = stackalloc Vector3[4]; foreach (ref readonly var entity in _filter.GetEntities()) { ref readonly var transform = ref _transform.Get(entity);
public void Serialize() { foreach (ref readonly var entity in _entities.GetEntities()) { Console.WriteLine("Entity: {0}", entity); _publisher.Publish(new QueryComponentsMessage(entity, this)); } }