Method TryClose
TryClose(bool?)
Closes the current scene. Returns false
if user cancels
while being asked whether to save changes.
Declaration
public bool TryClose(bool? saveChanges = null)
Parameters
Type | Name | Description |
---|---|---|
bool? | saveChanges | Indicates whether to save changes or not.
If |
Returns
Type | Description |
---|---|
bool |