Esempio n. 1
0
        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.");
     }
 }
Esempio n. 3
0
 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();
 }