- Home /
How to set pre-render properties to UGUI Image?
I'm trying to display ugui Image with my own shader. And I want each Image display with the same shader but slightly different properties.
After searching online, I find out the Renderer.SetPropertyBlock() is the type of the thing I want, but CanvasRenderer is not a Renderer, unfortunately.
So is there UGUI version of SetPropertyBlock? If not, how can I do this?
Did you ever figure out something for this issue? I'm having the same problem, and this question was all I could find related to it.
Your answer
Follow this Question
Related Questions
Changing two different objects renderer colour 1 Answer
See through issue in iOs 0 Answers
How to find and assign Default-Particle material to a renderer 2 Answers
QuickOutline: how can I change the shader to work with objects with two materials? 3 Answers
Unity 5.4 - SetVectorArray - how to read values back from MaterialPropertyBlock? 0 Answers