Are `CustomButton` and `CustomButtonBase` necessary?
Closed this issue · 2 comments
kochounoyume commented
Are `CustomButton` and `CustomButtonBase` necessary?
kochounoyume commented
In implementing customized buttons, it would be nice to distribute a base class that would serve as a common foundation for them.
CustomButtonBase
is necessary, but not CustomButton
?
kochounoyume commented
After thinking about it, I came to the conclusion that even CustomButtonBase
is not necessary.
I thought that if I implemented it in a class that inherited from UnityEnigine.UI.Button
, I could do the same thing.