12345678910111213141516171819202122232425 |
- using UnityEngine;
- using System.Collections;
- public class UIEnterCode : 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
- }
- public void OnClick()
- {
- Debug.Log(".CloseMenu(NGUIMenuScript.NGUIMenus.EnterCode);");
- NGUIMenuScript.Instance.CloseMenu(NGUIMenuScript.NGUIMenus.EnterCode);
- NGUIMenuScript.Instance.ShowMenu(NGUIMenuScript.NGUIMenus.MainMenuNew);
- }
- }
|