private static void CheckAndCreateInstance() {
		if (_Instance == null) {
			_Instance = GameObject.FindObjectOfType(typeof(AndroidSocialGate)) as AndroidSocialGate;
			if (_Instance == null) {
				_Instance = new GameObject ().AddComponent<AndroidSocialGate> ();
				_Instance.gameObject.name = _Instance.GetType ().Name;
			}
		}
	}
 public void InstaShare()
 {
     AndroidSocialGate.StartShareIntent("Hello Share Intent", "This is my text to share", shareTexture, "insta");
 }
 public void GoogleShare()
 {
     AndroidSocialGate.StartShareIntent("Hello Share Intent", "This is my text to share", shareTexture, "com.google.android.apps.plus");
 }
 public void TwitterShare()
 {
     AndroidSocialGate.StartShareIntent("Hello Share Intent", "This is my text to share", shareTexture, "twi");
 }
 public void ShareMail()
 {
     AndroidSocialGate.SendMail("Hello Share Intent", "This is my text to share <br> <strong> html text </strong> ", "My E-mail Subject", "[email protected], [email protected]", shareTexture);
 }
 public void ShareText()
 {
     AndroidSocialGate.StartShareIntent("Hello Share Intent", "This is my text to share");
 }
 public void ShareImage()
 {
     AndroidSocialGate.StartShareIntent("Hello Share Intent", "Sharing Hello wolrd image", shareTexture);
 }
示例#8
0
 private void PostMSG()
 {
     AndroidSocialGate.StartShareIntent("Hello Share Intent", "This is my text to share", "twi");
 }
 private void PostImage()
 {
     AndroidSocialGate.StartShareIntent("Hello Share Intent", "This is my text to share", ImageToShare, "facebook.katana");
 }
 public void GoogleShare()
 {
     AndroidSocialGate.StartGooglePlusShare("This is my text to share", shareTexture);
 }
示例#11
0
 public void SendMail()
 {
     AndroidSocialGate.SendMail("Send Mail", "", "Android Native Plugin Question", "*****@*****.**");
 }
 public void ShareText()
 {
     AndroidSocialGate.OnShareIntentCallback += HandleOnShareIntentCallback;
     AndroidSocialGate.StartShareIntent("Hello Share Intent", "This is my text to share https://d45nf.app.goo.gl/QcRv");
     //AndroidSocialGate.StartVideoPickerAndShareIntent("message for video", "share the video");
 }
示例#13
0
 public void SendBug()
 {
     AndroidSocialGate.SendMail("Send Mail", "", "Hey Stan, I found a bug", "*****@*****.**");
 }
 public void ShareText()
 {
     AndroidSocialGate.OnShareIntentCallback += HandleOnShareIntentCallback;
     AndroidSocialGate.StartShareIntent("Hello Share Intent", "This is my text to share");
 }
示例#15
0
 public static void NativeSharing()
 {
     AndroidSocialGate.StartShareIntent(_shareTitle, _shareContent + " " + _playStoreURL, defaultImageToShare);
 }
示例#16
0
 public static void TwitterDefaultShare()
 {
     AndroidSocialGate.StartShareIntent(_shareTitle, _shareContent + " " + _playStoreURL, defaultImageToShare, "twi");
 }