Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: dillrye on August 26, 2013, 10:53:25 AM
-
Hello, I am getting the error:
`UnityEditor.Undo.RegisterSceneUndo(string)' is obsolete: `Please use DestroyObjectImmediate, RegisterCreatedObjectUndo or RegisterUndo instead.'
Do you know what the suggested replacement would be? I am not super familiar with the Undo functionality.
-
Are you asking for your own project or NGUI? If former, I'd advise asking on the beta forum, as that functionality is only in the alpha/beta of 4.3 and should be kept confined to that forum.
If the latter, I wouldn't change anything in NGUI trying to fix it. It will be adjusted for you in a later version.
-
I wanted to update my local copy of NGUI so I could use the newest client. I would revert these changes once the official fix was added. This is throwing a compilation error, not a warning.
-
As I understand it, the last 4.3 build fucked up and removed some functionality instead of deprecating it -- something the next build should address. I am not sure which undo to use in this case, but you can always simply comment out the offending line.