Skip to content

Instantly share code, notes, and snippets.

@masayuki5160
Created January 26, 2014 09:30
Show Gist options
  • Save masayuki5160/8630541 to your computer and use it in GitHub Desktop.
Save masayuki5160/8630541 to your computer and use it in GitHub Desktop.
using UnityEngine;
using System.Collections;
public class testWebView : MonoBehaviour {
WebViewObject webViewObject;
// Use this for initialization
void Start () {
webViewObject =(new GameObject("WebViewObject")).AddComponent<WebViewObject>();
webViewObject.Init();
webViewObject.SetMargins(50,100,50,50);
webViewObject.LoadURL("http://yahoo.co.jp");
webViewObject.SetVisibility(true);
}
}
@masayuki5160
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment