需要多个MC进行相同的缓动。比如下面这个游戏菜单。三个按钮的缓动是相同的,都缓动到同一个x坐标位置。然后同时有缓动出舞台。如果有TweenLite实现的话,需要if
(isReverse) {TweenLite.to(menu1, 0.5, { x: -200 } );TweenLite.to(me...
分类:
其他好文 时间:
2014-05-26 07:31:29
阅读次数:
206
using UnityEngine;//this class holds movement
functions for a rigidbody character such as player, enemy, npc..//you can then
call these functions from...
分类:
其他好文 时间:
2014-05-26 07:24:38
阅读次数:
228
假定每个单词用空格隔开。
例子:
输入:how are you!
输出:3
两种方法:
一:
#include
#include
#define SIZE 20
int main()
{
char str[SIZE]={'\0'};
int count=0;
printf("please input the string\n");
gets(str);
put...
分类:
编程语言 时间:
2014-05-26 03:44:36
阅读次数:
284
Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would have
exact...
分类:
其他好文 时间:
2014-05-25 00:46:51
阅读次数:
229
It seems like the year of 2013 came only yesterday. Do you know a curious fact? The year of 2013 is the first year after the old 1987 with only distinct digits.
Now you are suggested to solve the f...
分类:
其他好文 时间:
2014-05-24 21:52:34
阅读次数:
320
Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume
that each input would have exact...
分类:
其他好文 时间:
2014-05-24 20:43:37
阅读次数:
341
为什么创业现在能做什么!准备做什么!未来做什么!鼓励创业,创业价值创业理由=>赚钱,证明自己.@me:创建上市公司,成就辉煌创造价值信心,优势,专长{销售,软件},启动资金不见得失败就是不好隔行如隔山,跳到新行业,起点是先天因数做对的事,找对的人,找到正确的方向人多力量大风险现实路线=>思想和资金不...
分类:
其他好文 时间:
2014-05-24 13:58:58
阅读次数:
196
Ext.application.prototype.addController =
function (name) { var me = this; var controller =
AM.getApplication().getContr...
分类:
Web程序 时间:
2014-05-24 13:16:31
阅读次数:
359
举例说:脚本名称叫test.sh 入参三个: 1 2 3运行test.sh 1 2
3后$*为"1 2 3"(一起被引号包住)$@为"1" "2" "3"(分别被包住)$#为3(参数数量)如脚本:#!/bin/shfor loop in
"$*" do echo $loop done输出循环一...
分类:
系统相关 时间:
2014-05-24 10:09:30
阅读次数:
304
今天阅读opencv2.0手册的时候,看到一句话,很有感触:Unless you are
targeting embedded platforms, there’s no point to using the old methods(unless
you’re a masochist program...
分类:
其他好文 时间:
2014-05-24 09:51:04
阅读次数:
258