- 博客(6)
- 资源 (8)
- 收藏
- 关注
原创 unity 导航网格运行时模型高度有偏差
放了两个模型在场景中,默认Y坐标都是0勾选height mesh 模型的坐标如下不勾选height mesh 模型坐标https://answers.unity.com/questions/1469054/why-there-is-always-a-small-gap-between-navmesh-ag.html...
2018-07-24 16:16:06 1163
原创 C++中的一些类型转换
C++中的一些类型转换string to int atoi( str.c_str() ) std::stoi( str ) c++11int to string string s = string(itoa(a)); std::string s = std::to_string(a); c++11
2017-06-27 10:19:11 286
原创 无法解析的外部符号 "public: static class cocos2d::CCLuaEngine *
自己建了个C++工程,调用luaengine时出错了。error link 2019。在 工程属性 -> 配置属性 -> C/C++ -> 预处理器 -> 预处理器定义 一栏添加 _USRLUASTATIC 解决网上搜到的文章都是 把luaEngine文件考到自己的工程下解决的,试过了但报了个dll链接不一致的错误,然后搜索到要修改预处理器定义,把这个宏加进来。
2017-06-15 15:13:26 1117
原创 Lua 编写快速排序算法
--快速排序function Utils.quickSort(array,low,high) if low < high then local key = array[low] local lowTag = low local highTag = high while(lowTag<highTag) do
2016-02-24 21:04:23 957
转载 C++中各种类型的相互转换
int转char*(itoa)char*_itoa(int value,char* string,int radix);
2014-06-24 16:05:20 455
转载 scrollview里的一些api
setBounceEnabled:弹跳开关,拉过了之后,可以弹回来setInnerContainerSize:设置内部实际大小,必须大于等于sizesetDirection(SCROLLVIEW_DIR_HORIZONTAL):设置滚动方向addChild:UIWidget都可以
2014-05-12 21:38:34 1133
CAINav 寻路插件包
2018-07-28
SE SSAO unity
2018-07-09
ShaderX_RipplingRefractiveAndReflectiveWater
2018-06-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人