Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

AssetBundleRecompressOperation

class in UnityEngine

/

Inherits from:AsyncOperation

/

Implemented in:UnityEngine.AssetBundleModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Asynchronous AssetBundle recompression from one compression method and level to another.

Properties

humanReadableResultA string describing the recompression operation result (Read Only).
inputPathPath of the AssetBundle being recompressed (Read Only).
outputPathPath of the resulting recompressed AssetBundle (Read Only).
resultResult of the recompression operation.
successTrue if the recompress operation is complete and was successful, otherwise false (Read Only).

Inherited Members

Properties

allowSceneActivationAllow Scenes to be activated as soon as it is ready.
isDoneHas the operation finished? (Read Only)
priorityPriority lets you tweak in which order async operation calls will be performed.
progressWhat's the operation's progress. (Read Only)

Events

completedEvent that is invoked upon operation completion. An event handler that is registered in the same frame as the call that creates it will be invoked next frame, even if the operation is able to complete synchronously. If a handler is registered after the operation has completed and has already invoked the complete event, the handler will be called synchronously.