コード例 #1
0
ファイル: ObjectTestCell.cs プロジェクト: BclEx/object-assets
 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);
 }
コード例 #2
0
ファイル: TesEngine.cs プロジェクト: BclEx/object-assets
 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();
 }
コード例 #3
0
        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();
        }