1
NGUI 3 Support / Re: Editor Script Updates Sprite Parent Position, Sprite Stays Put
« on: February 12, 2014, 07:13:11 AM »
Cheers Michael, but that isn't solving the problem. Here is a quick breakdown of the issue in case I've been unclear:
- Editor script edits a transform's position x and y.
- A sprite parented to said transform moves with it, but is not drawn in the new location in the editor scene view.
- So, after editing transform, I call EditorUtility.SetDirty(sprite), SceneView.RepaintAll() and NGUIEditorTools.RepaintSprites()
- Sprite is still not drawn in the new location until I click out of Unity and back in, or if I save the scene.

