using System.Collections; using System.Collections.Generic; using UnityEngine; public class Spin : MonoBehaviour { public float speed = 3.0f; // Use t... ...
分类:
编程语言 时间:
2017-11-29 22:48:36
阅读次数:
229
2017-11-24 嵌入式笔记struct嵌入式 struct结构体1、第一个数据成员放在offset为0的地方,之后每个成员从该成员大小的 整数倍 开始;2、结构体作为成员时,从其内 最大元素大小的整数倍地址开始存储;3、sizeof:在对齐基础上,必须还是其内部最大成员的整数倍,不足的要补齐。... ...
分类:
其他好文 时间:
2017-11-25 13:07:43
阅读次数:
192
所谓的数据离线处理,就是将所有的输入数据全部读入后,在进行统一的操作,这样当然有好处,比如让你算好多数的阶层,但是输入的每个数是没有顺序的,其实跟可以线性的解决,但是由于没有顺序的输入,这样处理的话复杂度就很高,若将输入的这些数据全部先存起来,再排序,然后按从小到大的顺序处理。 f(n)=(∏i=1 ...
分类:
其他好文 时间:
2017-11-25 11:22:37
阅读次数:
81
/*上下居中*/ vertical-align:center; font-size=line-height; /*最低高度*/ height:auto!important; height:400px; min-height:400px; ...
分类:
Web程序 时间:
2017-11-21 11:37:22
阅读次数:
140
借鉴网址:http://www.daqianduan.com/6179.html 从网上找比较麻烦,自己down下来看 单行: 多行: 适用范围: 因使用了WebKit的CSS扩展属性,该方法适用于WebKit浏览器及移动端; ...
分类:
Web程序 时间:
2017-11-20 21:44:19
阅读次数:
174
①实现Toggle功能 html结构: ①参考资料:http://blog.csdn.net/freshlover/article/details/43735273 ...
分类:
Web程序 时间:
2017-11-20 17:42:22
阅读次数:
624
This question is about implementing a basic elimination algorithm for Candy Crush. Given a 2D integer array board representing the grid of candy, diff ...
分类:
其他好文 时间:
2017-11-19 01:47:58
阅读次数:
368
<!doctype html><html><head><meta charset="utf-8"><meta http-equiv="description" content="兼容性的局部模糊毛玻璃效果效果-百度图片首页示意 » 张鑫旭-鑫空间-鑫生活" /><meta name="descrip ...
分类:
其他好文 时间:
2017-11-18 15:59:35
阅读次数:
230
<?xml version="1.0" encoding="utf-8"?> <layout xmlns:android="http://schemas.android.com/apk/res/android"> <data> <variable name="viewModel" type="com ...
分类:
其他好文 时间:
2017-11-16 11:45:33
阅读次数:
142
css--两行显示省略号兼容火狐浏览器 正常写法: 总结下来就是:固定的宽度,强制不换行,超出隐藏,显示省略号。四个属性 但是在火狐下不兼容: 兼容做法: ...
分类:
Web程序 时间:
2017-11-15 21:40:57
阅读次数:
5177