public void ShareScreenshot() { string path = System.IO.Path.Combine(Application.persistentDataPath, screenshotFilename); string msg = shareMessage; msg = msg.Replace("[score]", ScoreManager.Instance.Score.ToString()); Sharing.ShareImage(path, screenshotFilename, msg); }
public void ShareScreenshot() { if (!string.IsNullOrEmpty(TwoStepScreenshotPath)) { Sharing.ShareImage(TwoStepScreenshotPath, sampleMessage); } else { NativeUI.Alert("Alert", "Please save a screenshot first."); } }
public void ShareWithScreenShot() { StartCoroutine(SaveScreenshot()); Sharing.ShareImage(screenshotPath, "Can you beat my score? Play Even Monkeys Can Count!"); }
public override void OnEnter() { Sharing.ShareImage(filepath.Value, message.Value, subject.Value); Finish(); }