void OnShareState() { // if(GoogleAnalyticsV3.instance) // GoogleAnalyticsV3.instance.LogScreen("Share"); // // GoogleAnalyticsV3.instance.DispatchHits(); // if(!GameObject.FindGameObjectWithTag(Tags.SocialSharing)) // Instantiate(Resources.Load(Menus.SocialSharing)); GameAnalytics.NewDesignEvent("Menu:Share"); string text = "Hey! I have scored " + Prefs.highScore + " in Dino Rage 3D. Challenge me!"; text += "\n" + Constants.ANDROID_TWEET_BITLY_LINK; ShareBunch.GetInstance().ShareText(text); }
void Start() { ShareBunch.GetInstance().ShareText("I'm sharing the text"); }