- Home /
Question by
VanZeebroeck · Dec 13, 2014 at 10:36 AM ·
new uiredraw
Make a graphic redraw in edit mode
I am working with the UI system of unity 4.6. I have an editor script that changes the color of Graphics (mostly sprites and labels), I can see in the inspector that the color is changed, but in the scene view the color is not updated until I move something in the scene view.
Is there a way to redraw/update the graphic that has been altered?
I tried to use Graphic.SetAllDirty() and SceneView.RepainAll() but none work.
Any suggestions?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613173905im_/https://answers.unity.com/themes/thub/images/avi.jpg)