Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

button press to open external link in webgl

Discussion in 'Input System' started by paneijii, Feb 7, 2022.

  1. paneijii

    paneijii

    Joined:
    Mar 16, 2020
    Posts:
    2
    Hi! As said in the title I'm using input system following unity's starter asset, then applied this code to open the link. It works perfectly on the first time, but when I went back to the game the arrow keys would also redirecting to the link. (used google as the placeholder link)

    Here's the project file: https://www.dropbox.com/s/51ekbgv22qkrf23/web_v2.rar?dl=0