using UnityEngine;using System.Collections; public class DrawStar : MonoBehaviour { public Material _mat; public Color _starColor; const float minDist ...
分类:
其他好文 时间:
2017-11-14 18:34:34
阅读次数:
125
程序触发鼠标、键盘事件是C#程序设计中比较常见的功能,本文实例展示了C#中winform实现自动触发鼠标、键盘事件的方法,有不错的实用价值。具体如下: 要想在C#程序中触发鼠标、键盘事件就必须要调用windows函数。 一、鼠标事件的触发 1.引用windows函数mouse_event /// < ...
4203: Domino Piece Time Limit(Common/Java):1000MS/3000MS Memory Limit:65536KByteTotal Submit: 55 Accepted:41 Description Dominoes are gaming pieces us ...
分类:
其他好文 时间:
2017-11-12 21:53:39
阅读次数:
242
在前面学习了比较多模式,有前向搜索的,也有后向搜索的,有肯定模式的,也有否定模式的。这次再来学习一个,就是后向搜索肯定模式,意思就是说已经扫描过了的字符串,还想后悔去看一下,是否可以匹配。它的语法是:(?<=pattern)。比如下面的例子,就是用来识别Twitter的账号,但它这种模式只会匹配,不 ...
分类:
编程语言 时间:
2017-11-11 20:42:58
阅读次数:
207
Interaction Components 交互组件 This section covers components in the UI system that handles interaction, such as mouse or touch events and interaction us ...
分类:
编程语言 时间:
2017-11-11 18:58:07
阅读次数:
319
DESCRIBE:When you mouse click right-side is open an application and click left-side is attribution. solution:you can following below step operator ...
分类:
移动开发 时间:
2017-11-11 16:48:57
阅读次数:
150
set mouse=a "激活鼠标 set nu "显示行号 set tabstop=4 "缩进设为4个半角字符长度 set ai "自动缩进“ set cursorline "高亮当前行 set ruler "打开光标的行列位置显示功能(有点绕,自己试试就知道是什么意思了) set autorea ...
分类:
其他好文 时间:
2017-11-10 23:02:10
阅读次数:
120
每次笔记本一开机启动,总会连用不着且碍事的触摸板也一块启动。便想写个脚本,让电脑启动时关闭触摸板。(当然,我想更好的办法是,修改系统启动时的加载模块,让触摸板不自动加载,但是目前还不知道用这种方法怎么做。) 其实关键的代码就是一句: sudo modprobe -r psmouse 这里解释下:mo ...
分类:
系统相关 时间:
2017-11-10 18:41:29
阅读次数:
178
位置:/etc/vim/vimrc 建议使用gedit来进行配置。即使用命令:sudo gedit /etc/vim/vimrc set mouse=a " Enable mouse usage (all modes) set confirm " ?应该可删,用于询问确定 "缩进格数 set tab ...
分类:
系统相关 时间:
2017-11-10 12:47:36
阅读次数:
180