Version: 2022.2

PlayerSettings.WSA.GetVisualAssetsImage

切换到手册
public static string GetVisualAssetsImage (PlayerSettings.WSAImageType type, PlayerSettings.WSAImageScale scale);

参数

type UWP Logo type to retrieve the Asset name for.
scale UWP Scale type to retrieve the Asset name for.

返回

string Returns the asset path for the image currently set as the specified Logo/ If you have not set an image, returns an empty string.

描述

Retrieves the Asset path for the image you set as the Universal Windows Platform package logo.

In the Editor, Unity displays this under Tile section in UWP Player Settings.
Important: Unity writes these settings to the package manifest when it builds Universal Windows Platform for the first time. Building into an existing Universal Windows Platform build folder does not update the package manifest and does not apply any changes.