Esempio n. 1
0
 private void FixedUpdate()
 {
     if (!_simulationModule.IsControlledByLargeWaterAreaManager)
     {
         _simulationModule.FixedUpdate();
     }
 }
Esempio n. 2
0
        private void FixedUpdate()
        {
            WaterSimulationModule currentSimulationModule = _leftMostWaterSimulationModule;

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

                currentSimulationModule = currentSimulationModule.NextWaterSimulationModule;
            }
        }