public void ForceSave() { if (!isEditModeActive || !canActivateSave) return; bridge.SaveSceneState(sceneToEdit); nextTimeToSave = DCLTime.realtimeSinceStartup + MS_BETWEEN_SAVES / 1000f; HUDController.i.builderInWorldMainHud?.SceneSaved(); numberOfSaves++; }
public void ForceSave() { if (!isEditModeActive) { return; } builderInWorldBridge.SaveSceneState(sceneToEdit); nextTimeToSave = DCLTime.realtimeSinceStartup + msBetweenSaves / 1000f; HUDController.i.builderInWorldMainHud?.SceneSaved(); }