主要涉及函数Input.GetAxis(“Mousex”) 可取得鼠标横向(x轴)移动增量Input.GetAxis(“Mousey”) 可取得鼠标竖向(y轴)移动增量通过勾股定理获取拖拽长度,长度越长旋转越快在project setting--Input可以设置直接上代码,看了就明白了 1 usi...
分类:
其他好文 时间:
2014-07-16 23:21:50
阅读次数:
467
控件:CheckBox android:background="@drawable/me_setting_switch_selector"这个表示替换默认控件的背景android:button="@drawable/me_setting_switch_selec...
分类:
其他好文 时间:
2014-07-16 23:17:48
阅读次数:
433
1 正则表达式的查找和替换,例如删除每行开始的数字ctrl+H, ^\d\d\d:null2删除所有的空行: TextFX插件->Edit->Delete Blank Lines3 多格式支持,可以在windows上编辑linux格式的文本文件,Setting->Preferences->New D...
分类:
其他好文 时间:
2014-07-07 13:50:15
阅读次数:
230
Setting up Wifi with the Command LineSIMON MONKThis tutorial works best if your router is broadcasting the SSID. Make sure you have "Broadcast SSID" s...
分类:
Web程序 时间:
2014-07-07 08:56:24
阅读次数:
288
安装脚本1、1_preusers.sh#!/bin/bash#Purpose:Create 3 groups named 'oinstall','dba','oper', plus 1 users named 'oracle'.#Also setting the Environment#variab...
分类:
数据库 时间:
2014-07-03 10:50:44
阅读次数:
268
本章讲:Starting and Exiting RMAN Specifying the Location of RMAN Output 指定RMAN输出位置Setting Globalization Support Environment Variables for RMAN 设置RMAN全局变量...
分类:
其他好文 时间:
2014-07-02 20:53:46
阅读次数:
300
在 CodeBlocks 中的 设置(setting)-> Compiler 中,选择 Compiler settings,将里面对应的 C++11 选项选中后,即可支持 C++11 了,
windows下图片如下:
ubuntu下图片如下:(注意刚开始可能找不到settings,你要把鼠标点到最上面就出现菜单项了,ubuntu软件中心安装的codeblocks是the coming...
分类:
编程语言 时间:
2014-07-01 08:26:31
阅读次数:
238
【Platform Dependent Compilation】1、Platform Defines 2、在Project Setting -> Player 面板的Other Settings的Scripting Define Symbols可以自定义macro,在此片定义的macro会被所有代....
分类:
其他好文 时间:
2014-06-26 18:35:08
阅读次数:
190
【Application.LoadLevel】 只有在File->Build Setting中设置了的按钮才能被加载。 当level加载完成后,MonoBehaviour.OnLevelWasLoaded is called on all active game objects。 When...
分类:
移动开发 时间:
2014-06-25 19:43:36
阅读次数:
254
##1.邮箱注册这里需要扩展User,两种解决办法,1,注册时将email字段内容赋给username,这种瞒天过海型的,另一种就是扩展user,这里介绍django1.5的扩展方法。**1.setting配置** AUTH_USER_MODEL = 'manager.MyUser' ...
分类:
其他好文 时间:
2014-06-22 11:02:42
阅读次数:
288