文档

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.
阅读时间1 分钟最后更新于 1 个月前

Definition

public interface IAnimationPreviewable

Methods

Method

Description

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