Created
June 29, 2014 12:50
-
-
Save masayuki5160/9501ab2debda5cdaad50 to your computer and use it in GitHub Desktop.
Application.OpenURL()のテスト. あっさりうまくいった。
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 sample : MonoBehaviour { | |
void Start () { | |
string format = "https://twitter.com/intent/tweet?&text={0}"; | |
string url = string.Format(format, WWW.EscapeURL("Twitterは楽しいよ") ); | |
Application.OpenURL(url); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
参考 -> http://terasur.blog.fc2.com/blog-entry-177.html
iPhoneでの実機テストはok.
Androidについては未テスト.Proがいるとからしい。要テストかな。