Last active
August 29, 2015 13:57
-
-
Save WestHillApps/9613597 to your computer and use it in GitHub Desktop.
LINEにメッセージを送る簡易版
This file contains 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; | |
public class LineCtrl | |
{ | |
/// <summary> | |
/// LINEにメッセージを送る | |
/// インストールされていない場合はアプリDLページヘ飛ぶ | |
/// </summary> | |
/// <param name="msg">メッセージ内容</param> | |
public static void SendLineMessage(string msg) { | |
string url = "http://line.me/R/msg/text/?" + WWW.EscapeURL(msg); | |
Application.OpenURL(url); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment