private void TranslateLastSpawnedObject(Vector3 deltaTranslation) { if (_selectedMapObject == null) { return; } var newPosition = _selectedMapObject.Position + deltaTranslation; NativeUtility.SetEntityPosition(_selectedMapObject.Entity, newPosition); _selectedMapObject.Position = newPosition; }