Forum Replies Created
-
AuthorPosts
-
vivekkalkurParticipant
Hey piotr,
You know what, I upgraded my Xcode from 8.2.1 to 8.3.3 and now everything is working fine.I knew that it was a dangling pointer and the object was getting released multiple times but then I just though why don’t I upgrade my Xcode and check. Whoa maybe my luck was good! 😀 Anyways,thanks for your reply! It’s a great plugin!!! I wish it had a control to screen layout(width and height) rather than a full screen. Hope to see that soon though!Thanks
vivekkalkurParticipantYes,it is happening the same even with, http://www.google.com
- This reply was modified 6 years, 10 months ago by vivekkalkur.
vivekkalkurParticipantNo luck here. I tried with the above code :
public class FirstPersonController : MonoBehaviour
{
public string MensJacketPage = “https://www.target.com/c/jackets-coats-men-s-clothing/-/N-5xu2a”;private void Update () {
if (hit.transform.name == “Men_Jacket”) {
InAppBrowser.DisplayOptions options = new InAppBrowser.DisplayOptions();
options.displayURLAsPageTitle = false;
options.pinchAndZoomEnabled = true;
options.pageTitle = “Digital VR Store”;
if (!InAppBrowser.IsInAppBrowserOpened()) {
InAppBrowser.OpenURL(MensJacketPage, options);
}
}
}
}vivekkalkurParticipantpublic class FirstPersonController : MonoBehaviour
{
public string MensJacketPage = “https://www.target.com/c/jackets-coats-men-s-clothing/-/N-5xu2a”;private void Update () {
if (hit.transform.name == “Men_Jacket”) {
InAppBrowser.DisplayOptions options = new InAppBrowser.DisplayOptions();
options.displayURLAsPageTitle = false;
options.pinchAndZoomEnabled = true;
options.pageTitle = “Digital VR Store”;
InAppBrowser.OpenURL(MensJacketPage, options);
}
}
}
In the above code,there is a game object called “Men_Jacket” and whenever I click on it, I am trying to open it your browser.I am integrating this with my firstpersonController script,FYI. -
AuthorPosts