Enum ReturnCode
Options for scriptable build pipeline return codes. Int values of these return codes are standardized to 0 or greater for Success and -1 or less for Error.
Namespace: UnityEditor.Build.Pipeline
Assembly: Unity.ScriptableBuildPipeline.Editor.dll
Syntax
public enum ReturnCode
Fields
Name | Description |
---|---|
Canceled | Use to indicate that the operation was cancelled. |
Error | Use to indicate that the operation encountered an error. |
Exception | Use to indicate that the operation encountered an exception. |
MissingRequiredObjects | Use to indicate that the operation failed because it was missing the required objects. |
Success | Use to indicate that the operation suceeded. |
SuccessCached | Use to indicate that the operation suceeded. |
SuccessNotRun | Use to indicate that the operation suceeded but did not actually execute. |
UnsavedChanges | Use to indicate that the operation failed because there are unsaved scene changes. |