123456789101112131415161718192021222324 |
- using UnityEngine;
- using System.Collections;
- public class UISendSMS : MonoBehaviour {
- [SerializeField]
- private UIButton Home;
- void Start()
- {
- Home.onClick.Add(new EventDelegate(OnHome));
- #if UNITY_ANDROID
- // Init();
- #endif
- #if UNITY_IPHONE
- //gameObject.AddComponent<GCLeaderBoard>();
- Debug.Log("UILeaderBoard::Started");
- #endif
- }
- private void OnHome()
- {
- NGUIMenuScript.Instance.CloseMenu(NGUIMenuScript.NGUIMenus.SendSms);
- NGUIMenuScript.Instance.ShowMenu(NGUIMenuScript.NGUIMenus.MainMenuNew);
- }
- }
|