文档

Unity Engine

Unity Engine

Execute(int)

Performs work against a specific iteration index.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Jobs
  • Assembly: UnityEngine.CoreModule
void Execute(int index)

Parameters

index

The index of the Parallel for loop at which to perform work.

Examples

{code Tests/EditModeAndPlayModeTests/Jobs/Assets/DocumentationExamples/ManagedJobDocExamples.cs#ijobparallelfor-apidocs-example}