Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: bDonsbach on July 02, 2015, 01:56:14 PM
-
I apologize if this question has already come up.
I have a script, let's call it ButtonChild, that I need to inherit from UIButton, but when I do, all the public variables in ButtonChild are missing from the inspector.
Is this by design or am I missing something?
Thank you.
-
You need to create a custom editor class to make them visible because UIButton uses one.
Why are you deriving from UIButton anyhow? I would suggest you make a separate script.