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