/// <summary> /// Gets stats of internal data. /// </summary> public EcsWorldStats GetStats() { var stats = new EcsWorldStats() { ActiveEntities = _entitiesCount - _reservedEntitiesCount, ReservedEntities = _reservedEntitiesCount, Filters = _filtersCount, Components = EcsHelpers.ComponentsCount }; return(stats); }
/// <summary> /// Gets stats of internal data. /// </summary> public EcsWorldStats GetStats() { var stats = new EcsWorldStats() { AllSystems = _allSystems.Count, AllEntities = _entities.Count, ReservedEntities = _reservedEntityIds.Count, Filters = _filters.Count, Components = _componentIds.Count, DelayedUpdates = _delayedUpdates.Count }; return(stats); }
/// <summary> /// Gets stats of internal data. /// </summary> public EcsWorldStats GetStats() { var stats = new EcsWorldStats() { InitSystems = _initSystems.Count, RunUpdateSystems = _runUpdateSystems.Count, RunFixedUpdateSystems = _runFixedUpdateSystems.Count, ActiveEntities = _entitiesCount - _reservedEntitiesCount, ReservedEntities = _reservedEntitiesCount, Filters = _filters.Count, Components = _componentIds.Count, DelayedUpdates = _delayedUpdates.Count }; return(stats); }