、https://forum.unity.com/threads/opening-other-application-from-script-on-hl2.974001/
官方说明
Using ms-windows-store URIs - UWP applications | Microsoft Learn
https://learn.microsoft.com/zh-cn/windows/uwp/launch-resume/launch-default-app
-
if !UNITY_EDITOR
-
string uriToLaunch = @"ms-guides://" ; //Dynamics365guides URI
-
await Windows . ApplicationModel . Core . CoreApplication . MainView . CoreWindow . Dispatcher . RunAsync (Windows . UI . Core . CoreDispatcherPriority . Normal, async ( ) =>
-
{
-
await Windows . System . Launcher . LaunchUriAsync (uri ) ;
-
} ) ;
-
#endif