Version: 2019.1
Experimental: this API is experimental and might be changed or removed in the future.

AnimatorJobExtensions.ResolveAllStreamHandles

Switch to Manual
public static void ResolveAllStreamHandles (Animator animator);

Parameters

animatorThe Animator instance that calls this method.

Description

Newly created handles are always resolved lazily on the next access when the jobs are run. To avoid a cpu spike while evaluating the jobs you can manually resolve all handles from the main thread.