Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: stevej on March 30, 2014, 03:58:52 AM
-
Noticed that if you prefab a part of the UI which has UIButtons with the "On Click Notify" filled in (i.e. a MonoBehaviour), that link gets severed when you instantiate that part of the UI back in.
Is that a bug or just an unfortunate side effect?
-
Prefabs can't keep references to anything outside of the prefab.
-
Prefabs can't keep references to anything outside of the prefab.
Yeah, it makes total sense I guess, but it's a pain. Oh well, already working around it so it's all good :)
-
It does keep reference to reference atlas or font in the prefab even reference atlas or font is not in the same prefab