コード例 #1
0
 private void FixedUpdate()
 {
     if (!_simulationModule.IsControlledByLargeWaterAreaManager)
     {
         _simulationModule.FixedUpdate();
     }
 }
コード例 #2
0
        private void FixedUpdate()
        {
            WaterSimulationModule currentSimulationModule = _leftMostWaterSimulationModule;

            while (currentSimulationModule != null)
            {
                currentSimulationModule.FixedUpdate();
                if (currentSimulationModule.SurfaceHeighestPoint > _waterSurfaceHeighestPoint)
                {
                    _waterSurfaceHeighestPoint = currentSimulationModule.SurfaceHeighestPoint;
                }

                currentSimulationModule = currentSimulationModule.NextWaterSimulationModule;
            }
        }