10 2017 档案
摘要:注册 函数给Lua使用 lua_newtable(L); lua_pushstring(L, "callStaticMethod"); lua_pushcfunction(L, LuaCBridge::callCStaticMethod); lua_rawset(L, -3); lua_setglo
阅读全文
摘要:void lua_rawset (lua_State *L, int index); 类似于 lua_settable,但是是作一个直接赋值(不触发元方法)。
阅读全文
摘要:Last login: Wed Oct 18 15:30:39 on ttys005 >>> ~ $ home -bash: home: command not found >>> ~ $ sujiehao >>> ~ $ ls Desktop Library Pictures eclipse-wo
阅读全文
摘要:1.安装Homebrew 打开终端,输入: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 输入brew出现下图 2.依赖Homebrew安装Nginx 依旧在终端 b
阅读全文
摘要:function YZMGame33:initAnimate(path,row, col, width, height, delay) local perWidth = width/col; local perHeight = height/row; local animation = cc.Ani
阅读全文
摘要:Sublime Text 3 快捷键精华版 Ctrl+Shift+P:打开命令面板Ctrl+P:搜索项目中的文件Ctrl+G:跳转到第几行Ctrl+W:关闭当前打开文件Ctrl+Shift+W:关闭所有打开文件Ctrl+Shift+V:粘贴并格式化Ctrl+D:选择单词,重复可增加选择下一个相同的单
阅读全文
浙公网安备 33010602011771号