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

AnimatorJobExtensions.ResolveAllSceneHandles

Switch to Manual
public static void ResolveAllSceneHandles (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.