Open ArcOfDream opened 7 years ago
Hmm, I provided some defaults for the font in the sample project. Patch9Frame would definitely be more useful, as I image this being used primarily for text boxes, and even if the user wants to just have floating text then they can just not attach a background texture to the frame.
I can go ahead and add a 9patch texture from one of my games since I create most of my assets under CC.
The more I pondered on this, the more I realize that we will need to give some basic assets for people to use, rather than just providing how to attach the script to another node. I believe it should be enough to provide people enough insight on what they can change?
What we should include:
Along with that, I would suggest changing the default control it extends from to Patch9Frame (and possibly adjust to whatever it may be changed to in the upcoming 3.0 version) and export the variables that handle the resources, too (in this case, the font resources).