docs.unity.cn
    Show / Hide Table of Contents

    Method CheckModifiedScenesAndAskToSave

    CheckModifiedScenesAndAskToSave()

    Used during the build to check for unsaved scenes and provide a user popup if there are any.

    Declaration
    public static bool CheckModifiedScenesAndAskToSave()
    Returns
    Type Description
    Boolean

    True if there were no unsaved scenes, or if user hits "Save and Continue" on popup. False if any scenes were unsaved, and user hits "Cancel" on popup.

    Back to top Copyright © 2021 Unity Technologies
    Generated by DocFX
    on Thursday, December 2, 2021
    Terms of use