Skip to content

Instantly share code, notes, and snippets.

@HiromichiYamada
Last active December 14, 2015 18:49
Show Gist options
  • Save HiromichiYamada/5131903 to your computer and use it in GitHub Desktop.
Save HiromichiYamada/5131903 to your computer and use it in GitHub Desktop.
// Unity:ボタン押下時に指定URLページを開く.
if( GUI.Button ( rectTexAd, "[AD]" ) ){
Debug.Log("Jump to the page.");
Application.OpenURL ("http://unity3d.com/");
}
// reference.
// http://docs.unity3d.com/Documentation/ScriptReference/Application.OpenURL.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment