Beispiel #1
0
    public void SocialTwitter()
    {
        string url = "https://twitter.com/intent/tweet?text=" + UnityWebRequest.EscapeURL("I solved " + State.GetBoardDisplayName() + " using just " +
                                                                                          ActorGameManager.GetScore(ActorGameManager.seedsPlanted) + " seeds - can you beat my Bitter Plants score?") +
                     "&url=" + UnityWebRequest.EscapeURL("https://www.lakehomegames.com/games/bitterplants");

        Application.OpenURL(url);
    }