文档

Unity Engine

Unity Engine

NotKeyableAttribute

Use this attribute in a script to mark a property as non-animatable.
阅读时间3 分钟最后更新于 1 个月前

Definition

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Field)]public class NotKeyableAttribute : Attribute

Remarks

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

Constructor

Description

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

Inheritance

Inherited Members