Hi,
I want to set all the WSA icons and splashscreens via code.
This always returns length 0, even if I already have set the icons:
[MenuItem( "Tools/Windows Store Icon Fix0r" )]
static void SetIcons()
{
var sizes = PlayerSettings.GetIconSizesForTargetGroup(BuildTargetGroup.WSA);
foreach( int size in sizes )
{
Debug.Log( "s:" + size );
}
var icons = PlayerSettings.GetIconsForTargetGroup(BuildTargetGroup.WSA);
foreach( var icon in icons )
{
Debug.Log( "icon:" + icon.width + "/" + icon.height );
}
}
There’s a closed source script in the asset store which does this, but it’s incomplete/buggy. So it should be possible, but not with this API?
What would you suggest to use?
Thanks!