private void Update() { MovingObjectDTO model = core.GetModel(); slider.value = model.GetSpeedRealValue(); speedText.text = string.Format("Speed: {0:00.0}", model.Speed); nameText.text = string.Format("Name: {0}", model.Name); }
private void Update() { MovingObjectDTO model = core.GetModel(); slider.value = model.GetSpeedRealValue(); speedText.text = string.Format("Speed: {0:00.0}", model.Speed); nameText.text = string.Format("Name: {0}", model.Name); }