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 © 2022 Unity Technologies
    Generated by DocFX
    on Friday, March 4, 2022
    Terms of use