1
NGUI 3 Support / Re: UISprite will be reset on apply and save
« on: April 17, 2014, 12:13:59 PM »
I actually just came on to ask about the same issue.
I have a prefab with a basic sprite on that I wanted to replace. I change the sprite from the drop down lister and when I click Apply is reverts back to the previous sprite.
I have had this happen before when I made button prefabs. I made a 1 prefab and made 2 duplicates in the hope to save time, but when I would try to change the sprites out and Apply they would always revert back to the 1st sprite from the initial prefab. The only way around I found to fix it then was to just make 3 individual button prefabs from scratch.
Will try your suggestions and get back to you.
EDIT: Adding the prefix to the UISprite and UIButton script seems to have done the trick! Thank you for the help =]
I have a prefab with a basic sprite on that I wanted to replace. I change the sprite from the drop down lister and when I click Apply is reverts back to the previous sprite.
I have had this happen before when I made button prefabs. I made a 1 prefab and made 2 duplicates in the hope to save time, but when I would try to change the sprites out and Apply they would always revert back to the 1st sprite from the initial prefab. The only way around I found to fix it then was to just make 3 individual button prefabs from scratch.
Will try your suggestions and get back to you.
EDIT: Adding the prefix to the UISprite and UIButton script seems to have done the trick! Thank you for the help =]