This version of Unity is unsupported.

NotKeyableAttribute Constructor

public NotKeyableAttribute();

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.