Version: 2019.3

AssetPostprocessor.OnPostprocessAnimation(GameObject, AnimationClip)

Switch to Manual

Parameters

rootThe root GameObject of the imported Asset.
clipThe current animation clip.

Description

This function is called when an AnimationClip has finished importing.

This function is called for every AnimationClip in an imported asset file. This lets you modify the imported AnimationClip before it is written to disk.