Animate UI Materials

FREE
Publisher Fleeting Being
File size 201.64kB
Number of files 26
Latest version 1.2.0
Latest release date 2023-11-24 11:06:42
First release date 2023-06-12 08:14:13
Supported Unity versions 2018.4.2 or higher

This package exists to fill the lack of MaterialPropertyBlock in the UI system


It allows users to animate material properties, as you would with a MeshRenderer or a SpriteRenderer, in a clean and concise interface.


Setup is a breeze:

  • Select your UI element (an Image for example)
  • Add the GraphicMaterialOverride component
  • Select a property to modify from the dropdown menu
  • A child GameObject is created, with a GraphicPropertyOverride component
  • Animate or modify this property as you wish

To remove the override, simply delete the child GameObject holding the override


The reason a child GameObject is required is because Unity cannot animate arrays or duplicate components

Top Publisher Assets