Legacy Documentation: Version 5.4
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

PlayerSettings.WSA.Declarations.protocolName

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual
public static var protocolName: string;
public static string protocolName;

Description

Registers this application to be a default handler for specified URI scheme name.

For example: if you specify myunitygame, your application can be run from other applications via the URI scheme myunitygame://. You can also test this using the Windows "Run" dialog box (invoked with Windows + R key). For more information https://msdn.microsoft.com/library/windows/apps/hh779670https://msdn.microsoft.com/library/windows/apps/hh779670.