第一阶段 01 Unity3D 基础操作 02 C# 语言基础 03 PS 图像简单处理 04 Unity3D 界面UI(UGUI或NGUI) 05 Unity3D 动画系统(Mecanim和DOtween) 06 Unity3D 图形数学(点乘、欧拉角、四元数等) 07 Unity3D 梳理代码( ...
分类:
编程语言 时间:
2020-06-10 19:23:48
阅读次数:
83
1SELECT*--*为所有属性都要FROM --加表 2使查询表中的名字改变(1):直接+' '+'name'(2):'name'=类别(3):类别 AS 'name 3SELECT '8' teacherFROM class--属性teacher都变成了8 4SELECT timeFROM cl ...
分类:
数据库 时间:
2020-06-10 12:54:36
阅读次数:
140
// *********************************************************** // Written by Heyworks Unity Studio http://unity.heyworks.com/ // ********************* ...
分类:
移动开发 时间:
2020-06-08 23:57:02
阅读次数:
133
Given a binary tree, return the sum of values of nodes with even-valued grandparent. (A grandparent of a node is the parent of its parent, if it exist ...
分类:
其他好文 时间:
2020-06-08 00:15:28
阅读次数:
76
重点:如何生成随机数? #!/bin/bash # random=$(date +%s%N) max=100 number=$((random%max)) guess=0 guessCount=0 echo "Guess a guess between 1 and $max." while [ "$ ...
分类:
其他好文 时间:
2020-06-05 00:40:25
阅读次数:
69
struct 将字节串解读为打包的二进制数据 — Python 3.8.3 文档 https://docs.python.org/zh-cn/3.8/library/struct.html 源代码: Lib/struct.py 此模块可以执行 Python 值和以 Python bytes 对象表示 ...
分类:
其他好文 时间:
2020-06-04 13:46:50
阅读次数:
53
Ashish has a tree consisting of nn nodes numbered 11 to nn rooted at node 11 . The ii -th node in the tree has a cost aiai , and binary digit bibi is ...
分类:
其他好文 时间:
2020-06-01 23:55:59
阅读次数:
100
$criteria = new CDbCriteria;//函数方式 $criteria->addCondition("id=1"); //查询条件,即where id = 1 $criteria->addInCondition('id', array(1,2,3,4,5)); //代表where ...
分类:
数据库 时间:
2020-05-28 11:35:08
阅读次数:
73
有效的括号 给定一个只包括 '(',')','{','}','[',']' 的字符串,判断字符串是否有效。 有效字符串需满足: 左括号必须用相同类型的右括号闭合。 左括号必须以正确的顺序闭合。 注意空字符串可被认为是有效字符串。 示例 1: 输入: "()" 输出: true 示例 2: 输入: " ...
分类:
其他好文 时间:
2020-05-27 11:48:51
阅读次数:
72
flex 是个非常好用的属性,如果说有什么可以完全代替 float 和 position ,那么肯定是非它莫属了(虽然现在还有很多不支持 flex 的浏览器)。然而国内很多浏览器对 flex 的支持都不是很好,这里针对微信内置浏览器写了一套兼容写法。下面入正题。 首先还是从两个版本的语法开始讲吧,这 ...
分类:
微信 时间:
2020-05-26 20:29:29
阅读次数:
79