void UpdateActiveMarker() { Marker marker = (Marker)m_MarkerController.ActiveMarker; marker.RelativePosition = marker.RelativePosition + Vector3.one; m_MarkerController.EditMarker(marker); }
// Update marker controller with the changed values. void OnEditSave() { Dispatcher.Dispatch(SetStatusMessage.From("Marker saved successfully.")); Dispatcher.Dispatch(SetDeltaDNAButtonAction.From($"{k_DeltaDNAPrefix}Save")); m_CachedMarker = m_MarkerEdit.ToMarker(); UpdateMarkerInList(m_CachedMarker); m_MarkerController.EditMarker(m_CachedMarker); EditClose(); }