using UnityEngine; using UnityEngine.UI; public class SendMailCrossPlatform: MonoBehaviour { public Text yourname; public Text youremail; public void SendEmail () { string subject = "Photos from "+ yourname.text; string body = "Here are the photos from "+yourname.text+ " kitchen project\n"; if(_G.L==2){ subject = "Photos de "+ yourname.text; body = "Voici les photos de "+yourname.text+ " pour le projet de cuisine\n"; } Application.OpenURL("mailto:" + _G.designer_path + "?subject=" + subject + "&body=" + body); } }