diff --git a/Assets/Fungus/Scripts/Commands/OpenURL.cs b/Assets/Fungus/Scripts/Commands/OpenURL.cs index 21e440e6..a13714fc 100644 --- a/Assets/Fungus/Scripts/Commands/OpenURL.cs +++ b/Assets/Fungus/Scripts/Commands/OpenURL.cs @@ -12,7 +12,7 @@ namespace Fungus [CommandInfo("Scripting", "Open URL", "Opens the specified URL in the browser.")] - public class LinkToWebsite : Command + public class OpenURL : Command { [Tooltip("URL to open in the browser")] [SerializeField] protected StringData url = new StringData(); diff --git a/Docs/command_ref/scripting_commands.md b/Docs/command_ref/scripting_commands.md index 3c6a530f..6ad7686b 100644 --- a/Docs/command_ref/scripting_commands.md +++ b/Docs/command_ref/scripting_commands.md @@ -99,7 +99,7 @@ Call Mode | Fungus.CallMode | The coroutine call behavior for methods that retur # Open URL # {#OpenURL} Opens the specified URL in the browser. -Defined in Fungus.LinkToWebsite +Defined in Fungus.OpenURL Property | Type | Description --- | --- | ---