Hello,
SCENARIO :I have a UIButton which does not have a UISprite or UILabel. Just a button with a collider. Lets say an invisible button. Now this GameObject has only the collider & UIButton script on top it. Hence it has no children.
PROBLEM :The button works perfectly fine, but I get this
warning.
"MainMenuUI/UICamera/Panel/Anchor-Center/Room2Select" has nothing for UIButtonColor to color
UnityEngine.Debug:LogWarning(Object, Object)
UIButtonColor:Init() (at Assets/Plugins/NGUI/Interaction/UIButtonColor.cs:113)
UIButtonColor:Start() (at Assets/Plugins/NGUI/Interaction/UIButtonColor.cs:65)
REQUIREMENT :How to avoid it? Is it okay if it stays?
Thanks.
NOTE : I have not moved to NGUI 3.0 yet.