Animate UI Materials View on Asset Store (opens in new tab)

Package details

Latest version
1.4.0
Last updated
First released
Unity version
2021.3.32 or later
Package size
209 KB
Files
36
Favorites
163
Views in the past week
48

Price tracking

Last checked
Tracked since
Lowest recorded
Free on

Keywords

Animate UI Materials

by Fleeting Being (opens in new tab)

5.0 / 5 · 10 ratings

Ratings by stars
Number of ratings for each star rating
5 stars 10
4 stars 0
3 stars 0
2 stars 0
1 star 0

Modify and animate UI materials without creating a new material asset. Works with animation, serialization, nested prefabs, source control and material variants

Price Free

Get it free on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Animate UI Materials, 6 months Current Free; lowest Free; highest Free in this period. $0 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 2

Animate UI Materials video 1 (plays on the Asset Store)

About this asset

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

From the publisher's Asset Store listing.

Technical details

Animating UI material has until now required custom scripts for each material. Furthermore, instanced material pollute the editor by creating false prefab modifications.

With this package, it is possible to customize or animate a material for a any UI component independently, without creating new material or scripts, and without modifying material assets.

* Works with float values and ranges, integers, textures and vectors

* Editor script for efficient workflow

* No runtime collection allocations

* Compatible with the SRP batcher

* All code available, with comments

* Free forever

Limitations:

* Only works with the SRP

* Displays toggles as float

* Does not show custom material editor

* Only works for UI components

* Parent material modifications require calling SetMaterialDirty to be updated

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP Custom
2021.3.32f1 Compatible Compatible Compatible Compatible

Compatible with Unity 2021 and 2022

Material variant support only with Unity 2022

As listed on the Asset Store.