Help with Back Button

Welcome! Forums Unity Plugins In-App Web Browser Help with Back Button

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #383
    StevenAung
    Participant

    Hi how to I make the back button software/hardware to execute a custom command lets say return to previous scene.

    Here is the snippet of my code and it does not work

    options.displayURLAsPageTitle = false;
    options.pageTitle = “InAppBrowser example”;
    options.androidBackButtonCustomBehaviour = true;
    InAppBrowser.OpenURL(“http://www.google.com”, options);
    InAppBrowserBridge.onAndroidBackButtonPressed.AddListener (() => Application.LoadLevel(1));

    #384
    PiotrPiotr
    Keymaster

    Hi,
    Is InAppBrowserBridge object placed in your scene?

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.