I had 2 issues I've managed to solve 1 of them and that was,make a phone call button with this script attached to an NGUi button
using UnityEngine;
using System.Collections;
public class button : MonoBehaviour {
// Use this for initialization
void Start () {
}
void OnClick() {
Application.OpenURL("tel:07979566922");
}
}
Now the other issue which I have no clue what so ever to achieve is,creating a text message button,exactly the same as the phone button pre-made text message to a mobile number.
Each person will have a button under their name all the user will have to do is press that button and it will send a standard message to that person,no messing around typing or inputting numbers,how would I go about making this NGui button
Hope someone can help
Thank you