Merge branch 'master' into LouDi_Quan
This commit is contained in:
commit
a1cc7aef59
@ -13,6 +13,22 @@ public class TimeScaleController : MonoBehaviour
|
||||
private void Update()
|
||||
{
|
||||
Time.timeScale = animSpeed;
|
||||
if (Input.GetKeyUp(KeyCode.F8))
|
||||
{
|
||||
animSpeed++;
|
||||
}
|
||||
if (Input.GetKeyUp(KeyCode.F7))
|
||||
{
|
||||
animSpeed--;
|
||||
}
|
||||
if (Input.GetKeyUp(KeyCode.F12))
|
||||
{
|
||||
animSpeed = 1;
|
||||
}
|
||||
if (Input.GetKeyUp(KeyCode.F11))
|
||||
{
|
||||
animSpeed = 0;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -17,8 +17,8 @@
|
||||
<Action type="Scale" value="Main Camera" to="0,180,0" time="0"></Action>
|
||||
<!--执行下一步左侧步骤列表 默认开始的时候为-1步 要主动调用一次才到第1步-->
|
||||
<Action type="NextOperation"></Action>
|
||||
<!--播放动画 reset=true则动画停在第一帧 frame是指定格在动画的某一帧 如果为-1 正常播放动画 -->
|
||||
<Action type="Anim" value="物体路径" animName="动画名字" frame="-1"></Action>
|
||||
<!--播放动画 reset=true则动画停在第一帧 frame是指定格在动画的某一帧 如果为-1 正常播放动画 speed 动画播放速度 默认为1 -->
|
||||
<Action type="Anim" value="物体路径" animName="动画名字" frame="-1" speed="1"></Action>
|
||||
<!--右下角生成按钮 可生成多个 用逗号分开-->
|
||||
<Action type="Btns" value="按钮1,按钮2,按钮3"></Action>
|
||||
<!--用于右侧道具栏选择正确的道具 event用于配合StrEventCondition 做检测 -->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user