public void ExitEditMode() { CommonScriptableObjects.builderInWorldNotNecessaryUIVisibilityStatus.Set(true); inputController.isBuildModeActivate = false; snapGO.transform.SetParent(transform); ParcelSettings.VISUAL_LOADING_ENABLED = true; outlinerController.CancelAllOutlines(); cursorGO.SetActive(true); builderInWorldEntityHandler.ExitFromEditMode(); sceneToEdit.SetEditMode(false); SetBuildMode(EditModeState.Inactive); DCLCharacterController.OnPositionSet -= ExitAfterCharacterTeleport; builderInputWrapper.gameObject.SetActive(false); builderInWorldBridge.ExitKernelEditMode(sceneToEdit); avatarRenderer.SetAvatarVisibility(true); if (HUDController.i.builderInWorldMainHud != null) { HUDController.i.builderInWorldMainHud.ClearEntityList(); HUDController.i.builderInWorldMainHud.SetVisibility(false); } Environment.i.world.sceneController.DeactivateBuilderInWorldEditScene(); DeactivateBuilderInWorldCamera(); isEditModeActivated = false; }