예제 #1
0
 void OnClick()
 {
     UnitySDK.Instance().Log("UnitySDK", String.Format("current time is {0}", DateTime.Now.ToLongTimeString()));
 }
예제 #2
0
 void OnLogin()
 {
     UnitySDK.Instance().StartLogin();
 }
예제 #3
0
 // Use this for initialization
 void Start()
 {
     UnitySDK.Instance().Init();
     btn.onClick.AddListener(OnClick);
     loginBtn.onClick.AddListener(OnLogin);
 }