- 博客(134)
- 资源 (2)
- 收藏
- 关注
原创 常用bat文件
安装apkadb kill-serveradb start-serveradb devicesadb install -r %1pause
2015-06-28 11:17:37 834
原创 亡灵杀手分析
1.很多动画都是物理模拟的 rigidbody.AddForce比如block,会给对方施加一个力2.伤害什么时候触发的?3.伤害靠OnTrigger触发,触发之后吧collider置false,RepeatDamage就是多次激活collider4.动画用了PlayQueued。。。
2014-12-04 09:04:06 702
转载 Generated AOT code is wrong when building for iOS on Windows
http://issuetracker.unity3d.com/issues/datetime-difference-on-ios-device-and-in-the-editor
2014-07-23 09:11:02 635
转载 Serializing data on mobile devices with protobuf on C#
http://www.codestalkers.com/blog/protobuf-net
2014-05-15 14:20:45 945
转载 Built-in custom editor styles in Unity3D
http://kwnetzwelt.net/wordpress/archives/2200
2014-04-21 12:19:00 1649
原创 性能分析工具
NVIDIA PerfHUDPIX(英语:Performance Investigator for Xbox)是微软的性能分析工具,它可以协助软件开发人员把Direct3D应用程式调整至最佳状态,换句话说,它是一套Direct3D 除错工具。这套工具原本是给Xbox电子游戏机使用的,后来微软把它移植到Windows操作系统上,类似于XNA,用来协助游戏开发人员。
2014-01-17 11:19:07 596
转载 AOT
Ahead of Time Compilation or AOT is a feature of the Mono runtime code generator.The Mono code generator can operate in two modes: Just-in-Time compilation or JIT, and Ahead-of-Time compilation or
2013-12-26 14:46:01 1138
原创 gpu性能分析工具
Intel® Graphics Performance Analyzershttp://software.intel.com/en-us/vcsource/tools/intel-gpahttp://www.nvidia.cn/object/parallel-nsight-cn.html
2013-12-26 10:39:37 892
转载 字体描边效果研究
http://blog.codingnow.com/2013/09/edge_font.htmlhttps://code.google.com/p/libgdx/wiki/DistanceFieldFonts
2013-12-17 17:31:07 607
转载 Unity Serialization
http://blogs.unity3d.com/2012/10/25/unity-serialization/
2013-12-16 11:52:01 862
转载 快捷键记忆
Visual Assist X 快捷键Shift+Alt+F Find References 查找引用Shift+Alt+S FindSynbolDialog 打开查找符号对话框Alt+G GotoImplementation 调到实现Alt+M ListMethodsInCurrentFileAlt+Left Arrow NavigateBack 后台
2013-12-10 10:13:49 582
转载 Special Folder Names in your Assets Folder
http://wiki.unity3d.com/index.php/Special_Folder_Names_in_your_Assets_Folder Standard Assets Scripts in here are always compiled first. Scripts are output to either Assembly-CSharp-firstpass, As
2013-12-02 21:39:59 980
转载 unity3d editor splitview
splitviewusing UnityEngine;using UnityEditor;public class SplitViewWindow : EditorWindow{ private Vector2 scrollPos = Vector2.zero; float currentScrollViewHeight; bool resize = false
2013-11-30 21:52:30 1325
原创 ngui pack字体在unity3d4.x显示问题
需要将字体贴图改成Texture类型Texture TypeSelect this to set basic parameters depending on the purpose of your texture.TextureThis is the most common setting used for all the textu
2013-11-20 09:48:54 1091
转载 Render Queue
Background is 1000Geometry is 2000AlphaTest is 2450Transparent is 3000Overlay is 4000
2013-09-24 14:55:45 998
原创 如何简化游戏ui数据更新
http://tools.artofbytes.com/efficient-ui-developmenthttp://en.wikipedia.org/wiki/UI_data_bindinghttp://en.wikipedia.org/wiki/Model_View_ViewModel
2013-09-22 12:10:04 668
转载 Transition Effects
http://hub.tutsplus.com/tutorials/create-flash-screen-transition-effects-entirely-with-code--active-10976?request_uri=%2Ftutorials%2Feffects%2Fcreate-flash-screen-transition-effects-entirely-with-code
2013-09-14 15:32:18 602
转载 “High-Speed, Off-Screen Particles” in Unity
http://technology.blurst.com/off-screen-particle-optimization/
2013-09-13 14:00:09 1243
原创 unity3d monobehaviour的一个bug
假如有monobehaviour继承链,prefab中需要连接的参数必须写在第一个monobehaviour中 否则在android上会有问题,提示该对象为空
2013-09-13 12:17:07 667
转载 Shader Effects: Blend Modes
http://devmaster.net/posts/3040/shader-effects-blend-modesBlend ModesIn the image at the top of the post: lightcycle from Tron Legacy demonstrating a bloom effect. A technique achieved by bl
2013-09-07 09:52:16 795
转载 Unity 3.5 到 4.0升级指南
http://game.ceeger.com/Manual/UpgradeGuide3540.html游戏对象激活状态Unity 4.0改变了游戏对象激活状态的处理方式。游戏对象的激活状态现在是从子游戏对象继承而来的,因此任何未激活的游戏对象也会导致其子游戏对象未激活。我们相信新的行为一直会比旧的行为更有意义。此外,即将到来的新GUI系统在很大程度上依赖于Unity4.0的行为
2013-08-12 16:11:28 3366
转载 黄聪:wordpress调用函数大全
WordPress模板基本文件style.css 样式表文件index.php 主页文件single.php 日志单页文件page.php 页面文件archvie.php 分类和日期存档页文件searchform.php 搜索表单文件search.php 搜索页面文件comments.php 留言区域文件(包括留言列表和留言框)404.php 404错误页面
2013-08-02 08:07:21 847
转载 url中文转码
<?php$s = "\u4e2d\u56fd";$s=str_replace("\\","%",$s);function unescape($str) { $str = rawurldecode($str); preg_match_all("/(?:%u.{4})|.{4};|&#\d+;|.+/U",$str,$r); $ar = $r[0]; #print_r($ar); f
2013-07-22 23:30:19 600
原创 vs2005编译cegui0.6.2
先是总是出“应用程序配置不正确”的问题,装了个vs2005 sp1补丁,问题是解决了 但是又出现了“调试信息损坏”之类的问题,然后又是装了个微软的补丁https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=18623。我操 真他妈坑爹啊
2013-07-19 22:43:20 771
转载 翻页
http://nomtek.com/tips-for-developers/page-flip-2d/http://nomtek.com/tips-for-developers/page-flip-3d/
2013-05-25 20:44:19 574
转载 OnEnable, Awake, Start order
OnEnable, Awake, Start order02I use a "framework" class that is set to run before all the other scripts (-300). This class has an Awake method. I also use anoth
2013-05-13 17:35:03 1429 1
转载 揭秘 Amazon 反应速度超快的下拉菜单
http://www.oschina.net/news/38378/breaking-down-amzons-mega-dropdown
2013-03-08 09:23:28 953
转载 MonoBehaviour的行为
AwakeAwake is called when the script instance is being loaded.Awake is used to initialize any variables or game state before the game starts. Awake is called only once during the lifetime of
2013-03-07 11:10:40 614
转载 OBB文件和StorageManager类使用介绍
http://www.android123.com.cn/androidkaifa/724.html 从Android 2.3开始新增了一个OBB文件系统和StorageManager类用来管理外部存储上的数据安全。如果你过去开发过Symbian S60第三版或以上的版本可能发现都有一个隔离的文件系统,仅根据自己应用的UID才能读取,当然这样的设计在iOS和WP7均实现了,A
2013-03-01 12:39:04 897
原创 使用Application.RegisterLogCallback来调试程序
该方法可以监听到unity中所有的log消息,然后你可以选择保存到文件中或者显示到gui上做调试来用。通过LogType来判断处理哪些类型的消息需要被保存或显示。LogType如下:ErrorLogType used for Errors.AssertLogType used for Asserts. (These indicate an
2013-02-27 19:40:04 7036 1
原创 unity3d联机调试
1.log输出和unity3d Exception输出打开Develpment Build和Script Debugging可以精确到哪个文件哪一行命令:adb logcat -s Unity2.profiler方法1:使用unity3d的profileradb forward tcp:54999 localabstract:Unity- 连接目标程序
2013-02-24 10:40:36 4645
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人