Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+3)

For other people trying to do this, here is the simple solution I'm using:

    private void CheckWithUnity() 
    {
        string urlPath = Application.absoluteURL.ToLower();
        Debug.Log(urlPath);  // For determining where I am hosted
        if(!urlPath.Contains("hwcdn.net"))) {
            ChangeScene.changeSceneStatic(28);
            GameObject.Find("Music").GetComponent<AudioSource>().Stop();
            Application.OpenURL("https://polypogon.itch.io/wisdom-collector");
        }
    }