Howdy. Question(s) for ya.
So I'm looking to create the HUD on the start of a layout.
It consists of several 9-patches and sprites.
However, it appears that several of the attributes are lost when creating the object from thin air at the beginning of the layout, including the 9 patch attributes such as margin, whether or not it tiles, and the position of the origin.
I understand that I can still spawn the item with the correct attributes as long as there is an object of the same type within the layout, but I'd much prefer for there not to be such an object in the layout and instead create the HUD entirely from spawning it at the beginning of the layout.
So, my question is; is there a workaround for this? Am I missing some obvious feature?
Thanks!