Hi guys!
I found some answers, like this one but somehow I couldn’t get the e-mail to work.
Here is my code snippet
function Update(){
if(objectHit.gameObject.tag == "TellFriend"){
Application.OpenURL("mailto:yesyoucan@hotmail.com?subject=Email&body=from Unity");
Debug.Log("TellFriend");
}
}
The “TellFriend” is printed in the log so I’m sure it’s running but nothing happen after it’s triggered. Did I miss anything? I have searched for answers and everybody said to use “Application.OpenURL()”. Thank you in advance =)