Documentation

Unity Engine


User Manual

Script Reference

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 7 days ago

Definition

public interface IAnimationPreviewable

Methods

Method

Description

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