Class RevertUnchangedAssetsToPreviousAssetState
RevertUnchangedAssetsToPreviousAssetState uses the asset state from the previous build to determine if any assets need to use their previous settings or use the newly build data.
Namespace: Global Namespace
Syntax
public class RevertUnchangedAssetsToPreviousAssetState : object
Methods
Run(IAddressableAssetsBuildContext, ContentUpdateScript.ContentUpdateContext)
Reverts asset entries to their previous state if not modified by the new build.
Declaration
public static ReturnCode Run(IAddressableAssetsBuildContext aaBuildContext, ContentUpdateScript.ContentUpdateContext updateContext)
Parameters
| Type | Name | Description |
|---|---|---|
| IAddressableAssetsBuildContext | aaBuildContext | The new build data. |
| ContentUpdateScript.ContentUpdateContext | updateContext | The cached build data. |
Returns
| Type | Description |
|---|---|
| ReturnCode | Returns the success ReturnCode if the content update succeeds. |