02 2013 档案
摘要:原字符串 {key1:"value",key2:"value",key3:"value"...}需要把key1,key2,key3这种都加上引号,变成:{"key1":"value","key2":"value","key3":"value"...}实现代码:before = '{ key1: "value", key2:"value", key3:"valu
阅读全文
摘要:以分享到Facebook为例:1. 授权Facebook.instance.Authorize();2. 分享Facebook.instance.OnCallBack += onUpdateReturn;string text = string.Format(template, System.DateTime.Now.ToString());Facebook.instance.Share(text);public void onUpdateReturn(ResponseResult res){ Debug.Log(res.returnType.ToString()); Debug....
阅读全文