Method CheckReflectionDataCorrect
CheckReflectionDataCorrect<T>(IntPtr)
Checks that reflection data was properly registered for a job.
Declaration
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]
[Conditional("UNITY_DOTS_DEBUG")]
public static void CheckReflectionDataCorrect<T>(IntPtr reflectionData)
Parameters
| Type | Name | Description |
|---|---|---|
| IntPtr | reflectionData | The reflection data pointer. |
Type Parameters
| Name | Description |
|---|---|
| T | Job type |
Remarks
This should be called before instantiating JobsUtility.JobScheduleParameters in order to report to the user if they need to take action.