2015年9月2日

读取JSON值

摘要: people.programmers[2].firstname的value是Elliotte 阅读全文

posted @ 2015-09-02 19:58 public_void_digua 阅读(132) 评论(0) 推荐(0)

List<string> tmp=new List<string>() string s="北京“的个数

摘要: 阅读全文

posted @ 2015-09-02 19:40 public_void_digua 阅读(168) 评论(0) 推荐(0)

console.readline console.reakey

摘要: 第一是按ENTER退出显示第二是按任意键退出显示 阅读全文

posted @ 2015-09-02 19:08 public_void_digua 阅读(168) 评论(0) 推荐(0)

key对应VALUE

摘要: var obj = {"id": 1, "name":"张三"};for(var key in obj){alert("Key是:" + key);alert("对应的值是:" + obj[key]);} 阅读全文

posted @ 2015-09-02 01:11 public_void_digua 阅读(141) 评论(0) 推荐(0)

return 符合条件返回true,不符合返回false

摘要: 阅读全文

posted @ 2015-09-02 01:10 public_void_digua 阅读(344) 评论(0) 推荐(0)

foreach(int key in list)

摘要: 阅读全文

posted @ 2015-09-02 01:07 public_void_digua 阅读(136) 评论(0) 推荐(0)

JsonObject

摘要: 阅读全文

posted @ 2015-09-02 00:58 public_void_digua 阅读(84) 评论(0) 推荐(0)

定义对象

摘要: 阅读全文

posted @ 2015-09-02 00:57 public_void_digua 阅读(114) 评论(0) 推荐(0)

对象类型object

摘要: 阅读全文

posted @ 2015-09-02 00:56 public_void_digua 阅读(112) 评论(0) 推荐(0)

gameobject与Gameobject

摘要: gameobject.getcomponent().指挂在那个对象上获取组件 阅读全文

posted @ 2015-09-02 00:54 public_void_digua 阅读(193) 评论(0) 推荐(0)

C# dictionary的用法

摘要: 阅读全文

posted @ 2015-09-02 00:42 public_void_digua 阅读(320) 评论(0) 推荐(0)

LIST用法

摘要: class Person{ private string _name; //姓名 private int _age; //年龄 //创建Person对象 public Person(string Name, int Age) { this._name= N... 阅读全文

posted @ 2015-09-02 00:38 public_void_digua 阅读(347) 评论(0) 推荐(0)

string.contains

摘要: 阅读全文

posted @ 2015-09-02 00:36 public_void_digua 阅读(105) 评论(0) 推荐(0)

UITESTLIST

摘要: 使用NGUI的UITextList制作窗口,可以方便的管理聊天历史,显示方式用户输入,用户输入窗口历史记录a.创建一个2D UI,在UI Root里加入两个Panel,一个为聊天窗体,一个为输入窗体b.在输入窗体内加入Chat Input(Script)与UIKey Binding(Script),... 阅读全文

posted @ 2015-09-02 00:33 public_void_digua 阅读(108) 评论(0) 推荐(0)

导航