Documentation

Unity Engine

Unity Engine

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 2 months ago

Definition

public interface IAnimationPreviewable

Methods

Method

Description

OnPreviewUpdateCalled every frame before rendering the Preview window. Use this method to update any class logic.