Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

ResourceRequest

class in UnityEngine

/

Inherits from:AsyncOperation

/

Implemented in:UnityEngine.CoreModule

Description

Asynchronous load request from the Resources bundle.

See Also: Resources.LoadAsync, AsyncOperation.

Properties

assetAsset object being loaded (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.

Did you find this page useful? Please give it a rating: