EditorUtility.SetCameraAnimateMaterials

Switch to Manual
public static void SetCameraAnimateMaterials (Camera camera, bool animate);

Description

设置此摄像机以启用编辑器中的材质动画。

If enabled, any rendered objects take global time into consideration. This means that any custom previews or Scene view cameras can update in the Editor when not in Play Mode.

另请参阅:EditorUtility.SetCameraAnimateMaterialsTime