Ejemplo 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());
            MobileNativeShare.ShareImage(path, screenshotFilename, msg);
        }
Ejemplo n.º 2
0
 public void ShareScreenshot()
 {
     if (!string.IsNullOrEmpty(TwoStepScreenshotPath))
     {
         MobileNativeShare.ShareImage(TwoStepScreenshotPath, sampleMessage);
     }
     else
     {
         Debug.Log("Please save a screenshot first.");
     }
 }