Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Way to react on redirecting from web browser to unity editor

Discussion in 'Editor & General Support' started by Prateek_Jain, Dec 31, 2020.

  1. Prateek_Jain

    Prateek_Jain

    Joined:
    Dec 22, 2015
    Posts:
    2
    I need to know how to react on redirecting from web browser to unity editor on windows. i.e. Want to know how Unity come to know the assets to be imported when redirected from browser asset store.
    I want to know the Unity method or delegate called when user re-directed from web browser to Unity Editor after clicking on popup button "Open Unity Editor" button.

    For example you can go to https://domainassociationtesting.herokuapp.com/redirect/test/redirectiontest.html#
    and press link. It will redirect to unity editor via particular reference. I want to find event (hook) in Unity editor that can tell you that editor has been opened with some link. for now it opens with <a href="#" onclick="location.href = 'com.unity3d.kharma:eek:auth';">link to unity editor</a>