private void FixedUpdate() { if (!_simulationModule.IsControlledByLargeWaterAreaManager) { _simulationModule.FixedUpdate(); } }
private void FixedUpdate() { WaterSimulationModule currentSimulationModule = _leftMostWaterSimulationModule; while (currentSimulationModule != null) { currentSimulationModule.FixedUpdate(); if (currentSimulationModule.SurfaceHeighestPoint > _waterSurfaceHeighestPoint) { _waterSurfaceHeighestPoint = currentSimulationModule.SurfaceHeighestPoint; } currentSimulationModule = currentSimulationModule.NextWaterSimulationModule; } }