private void UpdateRuntimeData() { foreach (var vessel in chart.vessels) { VesselHelper.UpdateVesselCenter(vessel, chart.chartPosition, chart.chartWidth, chart.chartHeight); } }
private void UpdateRuntimeValue() { for (int i = 0; i < m_Vessels.Count; i++) { var vessel = m_Vessels[i]; vessel.index = i; VesselHelper.UpdateVesselCenter(vessel, m_ChartPosition, m_ChartWidth, m_ChartHeight); } }
private void UpdateRuntimeData(Serie serie) { var vessel = chart.GetVessel(serie.vesselIndex); if (vessel != null) { VesselHelper.UpdateVesselCenter(vessel, chart.chartPosition, chart.chartWidth, chart.chartHeight); } }