Merge branch 'master' into LouDi_Quan
This commit is contained in:
commit
a95f692b9a
@ -54,6 +54,7 @@ namespace QFramework
|
|||||||
{
|
{
|
||||||
int curFrame = 0;
|
int curFrame = 0;
|
||||||
int.TryParse(frame, out curFrame);
|
int.TryParse(frame, out curFrame);
|
||||||
|
anim.clip = anim[animName].clip;
|
||||||
anim[animName].time = curFrame / anim.clip.frameRate;
|
anim[animName].time = curFrame / anim.clip.frameRate;
|
||||||
anim[animName].speed = 0;
|
anim[animName].speed = 0;
|
||||||
anim.Play(animName);
|
anim.Play(animName);
|
||||||
|
|||||||
@ -34,7 +34,7 @@ public class TimeScaleController : MonoBehaviour
|
|||||||
#if UNITY_WEBGL
|
#if UNITY_WEBGL
|
||||||
if (Input.GetKey(KeyCode.LeftAlt) || Input.GetKey(KeyCode.RightControl))
|
if (Input.GetKey(KeyCode.LeftAlt) || Input.GetKey(KeyCode.RightControl))
|
||||||
{
|
{
|
||||||
if (Input.GetKeyDown(KeyCode.W))
|
if (Input.GetKeyDown(KeyCode.A))
|
||||||
{
|
{
|
||||||
Debug.Log("Ctrl + W 被按下!");
|
Debug.Log("Ctrl + W 被按下!");
|
||||||
string str = string.Empty;
|
string str = string.Empty;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user