- Home /
Creating secondary live tiles with image from assets folder
Hi,
We are trying to create secondary live tiles, but it doesn't seem to work, cause we don't know what path to use in Unity.
We have the icons in Assets/LiveTiles the filenames are like 150.png 30.png etc. (they are named after the resolution), and we use this path:
"ms-appx:///Assets/LiveTiles/150.png";
to set UnityEngine.WSA.SecondaryTileData.square150x150Logo but it doesn't work.
Can you tell us what we do wrong? We've searched for answers everywhere, but couldn't find any.
Answer by vptb · Nov 18, 2014 at 05:10 PM
I'm not sure if I understood what's your problem, but if you want to load stuff at runtime that isn't referenced in any of the objects on your current scene, you should use the Resources folder.
More info here: http://docs.unity3d.com/ScriptReference/Resources.html