IAnimationPreviewable
Use this interface to prevent a class from being removed in the Animation Clip Preview window. The class must inherit from MonoBehaviour.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Interface
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
public interface IAnimationPreviewable
Methods
Method | Description |
|---|---|
| OnPreviewUpdate | Called every frame before rendering the Preview window. Use this method to update any class logic. |