NotKeyableAttribute

class in UnityEngine.Animations

Switch to Manual

Description

Use this attribute in a script to mark a property as non-animatable.

A non-animatable property cannot have key animation (not keyable). It does not appear as animatable in the Animation window and it cannot be animated in the Animator component or the Animation component.

Constructors

NotKeyableAttributeUse this attribute in a script to mark a property as non-animatable.