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

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AsyncOperation.completed

Parameters

value Action<AsyncOperation> handler - function signature for completion event handler.

Description

Event 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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答