- Home /
Question by
LordZephyr · Jul 30, 2014 at 04:46 PM ·
javascriptiphonecall
How can I Javascript a phone call from within Unity?
Hi, I'm creating a simple app that will allow you to call a specific phone number on the iPhone when you touch its icon. I saw only one answer here but that was in C#. I am wondering if anyone knows the lines of code in Javascript that will allow me to do that. Thanks so much!!! Tom
Comment
Best Answer
Answer by tanoshimi · Jul 30, 2014 at 06:45 PM
Have you tried
Application.OpenURL( "tel://5555551212" );
?
It worked great! Thank you so much, @tanoshimi! Where do you learn these out of the ordinary bits of information?