Class Options
Various options that can be configured for the Core package.
Namespace: Unity.Simulation
Syntax
public static class Options
Fields
debugDontWriteFiles
Debugging option to not write files to the file system, but appear as if they were. Useful for debugging when you don't want to spam the file system with tons of data.
Declaration
public static bool debugDontWriteFiles
Field Value
Type | Description |
---|---|
Boolean |
maxRequestStartFramesToWait
When shutting down, we can wait to complete any outstanding requests. However if there are any requests that have been created, but not started yet, we would need to wait for those before completing. This option specifies the number of frames to wait before just going ahead and completing what has been started. Requests that are completed without starting will lose their workloads. Not supported in editor when exiting playmode.
Declaration
[Obsolete("This property is obsolete. The functionality that used it has been removed.", false)]
public static int maxRequestStartFramesToWait
Field Value
Type | Description |
---|---|
Int32 |
removeLocalFilesAfterUpload
When files are uploaded, they are removed from the local file system. Setting this to false will cause those files to be left alone.
Declaration
public static bool removeLocalFilesAfterUpload
Field Value
Type | Description |
---|---|
Boolean |
uploadFilesFromPreviousRun
When starting, the Manager looks to see if any files are present on the file system from a previous run, and will attempt to upload this. Setting this to false will disable that.
Declaration
public static bool uploadFilesFromPreviousRun
Field Value
Type | Description |
---|---|
Boolean |