public static void Update() { // The current cell can be null if the player is outside of the defined game world. if (_currentCell == null || !_currentCell.IsInterior) { CellManager.UpdateCells(_playerCameraObj.transform.position, 0); } LoadBalancer.RunTasks(DesiredWorkTimePerFrame); }
public void Update() { // The current cell can be null if the player is outside of the defined game world. if (_currentCell == null || !_currentCell.IsInterior) { _cellManager.UpdateExteriorCells(_playerCameraObj.transform.position); } _temporalLoadBalancer.RunTasks(DesiredWorkTimePerFrame); CastInteractRay(); }
public void Update() { // The current cell can be null if the player is outside of the defined game world. if ((_currentCell == null) || !_currentCell.isInterior) { UpdateExteriorCells(); } temporalLoadBalancer.RunTasks(desiredWorkTimePerFrame); CastInteractRay(); }