コード例 #1
0
    public void ForceSave()
    {
        if (!isEditModeActive || !canActivateSave)
            return;

        bridge.SaveSceneState(sceneToEdit);
        nextTimeToSave = DCLTime.realtimeSinceStartup + MS_BETWEEN_SAVES / 1000f;
        HUDController.i.builderInWorldMainHud?.SceneSaved();
        numberOfSaves++;
    }
コード例 #2
0
    public void ForceSave()
    {
        if (!isEditModeActive)
        {
            return;
        }

        builderInWorldBridge.SaveSceneState(sceneToEdit);
        nextTimeToSave = DCLTime.realtimeSinceStartup + msBetweenSaves / 1000f;
        HUDController.i.builderInWorldMainHud?.SceneSaved();
    }