ResourceSaverSingleton.SaverFlags

Values

ValueMeaning
flagRelativePaths1

Save the resource with a path relative to the scene which uses it.

flagBundleResources2

Bundles external resources.

flagChangePath4

Changes the Resource.resourcePath of the saved resource to match its new location.

flagOmitEditorProperties8

Do not save editor-specific metadata (identified by their __editor prefix).

flagSaveBigEndian16

Save as big endian (see File.endianSwap).

flagCompress32

Compress the resource on save using constant File.COMPRESSION_ZSTD. Only available for binary resource types.

flagReplaceSubresourcePaths64

Take over the paths of the saved subresources (see Resource.takeOverPath).

Meta