The problem of invalid material changes during runtime on Unity3d UI

Article directory

question

On the UI panel, the material appears gray and cannot be modified:
Insert image description here

solve

If the mask cannot be modified,
Insert image description herejust uncheck the mask (or the Maskable option on the Image).
Insert image description here

Guess you like

Origin blog.csdn.net/WGYHAPPY/article/details/130936843