One of DFGUI's cool features is the ability to inline-embed images in a dfLabel to avoid having separate sprites layered on top of the dfLabel.
To embed sprites in a dfLabel, you must first make sure that the Process Markup checkbox (Label Properties->Formatting) is ticked.
Then, embedding sprites is done using the sprite tag: Press [sprite "xbox_a"] to Select
The sprite that is specified in the sprite tag (in my case it's "xbox_a") is fetched from the Atlas that is specified on the dfLabel.
Friday, December 20, 2013
Embedding sprites in a dfLabel with DFGUI
2013-12-20T12:08:00+01:00
Andreas Grech
DFGUI|Game Development|Unity 3D|
Subscribe to:
Post Comments (Atom)