Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BeginAnimatedCheck

Creates a Property wrapper, useful for making regular GUI controls work with MaterialProperty.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

BeginAnimatedCheck(Rect, MaterialProperty)

Creates a Property wrapper, useful for making regular GUI controls work with MaterialProperty.
public void BeginAnimatedCheck(Rect totalPosition, MaterialProperty prop)

Parameters

totalPosition

Rectangle on the screen to use for the control, including label if applicable.

The MaterialProperty to use for the control.

Remarks

BeginAnimatedCheck and EndAnimatedCheck automatically handle animated property color feedback and contextual menu.
Additional Resources: MaterialEditor.EndAnimatedCheck.

BeginAnimatedCheck(MaterialProperty)

Creates a Property wrapper, useful for making regular GUI controls work with MaterialProperty.
public void BeginAnimatedCheck(MaterialProperty prop)

Parameters

The MaterialProperty to use for the control.

Remarks

BeginAnimatedCheck and EndAnimatedCheck automatically handle animated property color feedback and contextual menu.
Additional Resources: MaterialEditor.EndAnimatedCheck.