Once you have loaded your texture you would surely like to be able to use it. Well, you can use textures as is. If all you wanted to do was to put a static image into your game then you are already done.
One very simple way of using a texture is with the <Image> tag:
<Image name="My image" texture="My texture"/>
This will create a new Image asset, called "My image", that uses the texture we loaded. It will look exactly the same as the texture alone in your game, so why did we do this?
Evidently <Image> tags does more than just displaying an image. Textures can be used by other asset types as well, such as Buttons, Fonts, Borders, etc.Related articles
Back to top