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. |