NotKeyableAttribute
Use this attribute in a script to mark a property as non-animatable.
読み終わるまでの所要時間 3 分最終更新 1ヶ月前
Definition
- Type: Class
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
- Inherits from: Attribute
[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.