Created
January 26, 2014 09:30
-
-
Save masayuki5160/8630541 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
参考:http://loumo.jp/wp/archive/20131115085810/