- 博客(15)
- 收藏
- 关注
原创 [Unity]关于调用dll中的AddComponent
当反射调用外部dll中的AddComponent方法时,有两种情况1 AddComponent(string classname)2 AddComponent(typeof classname)第一种情况会报错:classname不存在第二种情况加载成功根据网上反馈的资料,以及个人的猜测认为:unity只对应用本身编译的代码查找名为classname的组件,但是会对本身和外
2014-12-08 10:45:17
1388
原创 攀爬跑酷
攀爬跑酷升级及卡牌系统1 通过升级获得技能卡牌2 组合不同的技能卡牌完成跑酷3 每关的卡牌有数量限制,只能组合一定数量的卡牌4 卡牌可以通过购买卡包,金币等方式获得
2014-11-22 12:47:54
562
原创 svn学习笔记
1 本地回滚到当前版本:svn revert /Users/liudawei/Downloads/work/svnTest_newlocal/test/trunk -R2 本地从版本99merge到版本96:kitekiMac-mini:trunk liudawei$ svn merge /Users/liudawei/Downloads/work/svnTest_newlocal/test/
2014-09-22 15:42:27
426
原创 unity自动切换BuildTarget
#if UNITY_IPHONE public BuildTarget targetType = BuildTarget.iPhone; #elif UNITY_ANDROID public BuildTarget targetType = BuildTarget.Android; #endif
2014-09-12 11:38:04
2840
原创 进度条进度计算
WWW www = new WWW(urlfile); float progress = 0; while(!www.isDone){mSliderValue += (www.progress - progress)*0.25f*(1.0f/mFiletoMemoryCount);progress = www.progress;mSliderInfo = "Loading
2014-09-11 14:21:47
1145
原创 一键合成APK
require 'FileUtils'require 'pathname'require 'digest/md5'require 'rexml/document'include REXML#测试参数rsyncServer = "keeper@192.168.1.4::" #rsync服务器地址apkName = "keeper" #最终版本APK名字Client
2014-07-28 16:46:42
636
原创 rsync
上传备份: rsync -vzrtopg --delete(慎用) --exclude="*.meta" --exclude="*.svn" --progress --password-file=/Users/liudawei/Downloads/work/version/Build/onekeyBackup/keeper.pwd /Users/liudawei/Downloads/work
2014-07-28 16:19:21
341
原创 ios命令行相关
0 xcodebuild -project xcodeprojPath clean //clean Xcode prj1 xcodebuild -project xcodeprojPath //build Xcode pro to app2 xcrun -sdk iphoneos PackageApplication -v appPath -o ipaPath //app打包ipa
2014-07-28 16:11:28
383
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人