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 the method is called on.

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.