Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Execute(int)

Filter function. A list of indices is provided when scheduling this job type. The Execute function will be called once for each index returning true or false if the job data at the passed in index should be filtered or not.
Read time 1 minuteLast updated 14 days ago

Definition

  • Type: Method
  • Namespace: Unity.Jobs
  • Assembly: UnityEngine.ManagedKernelModule
bool Execute(int index)

Parameters

index

Index to use when reading job data for the purpose of filtering

Returns

Type

Description

boolReturns true for data at index