diff --git a/Assets/Scripts/Actions/AnimationAction.cs b/Assets/Scripts/Actions/AnimationAction.cs index 5a9691af..103cffbd 100644 --- a/Assets/Scripts/Actions/AnimationAction.cs +++ b/Assets/Scripts/Actions/AnimationAction.cs @@ -54,6 +54,7 @@ namespace QFramework { int curFrame = 0; int.TryParse(frame, out curFrame); + anim.clip = anim[animName].clip; anim[animName].time = curFrame / anim.clip.frameRate; anim[animName].speed = 0; anim.Play(animName); diff --git a/Assets/Scripts/TimeScaleController.cs b/Assets/Scripts/TimeScaleController.cs index 8699dd02..7154704b 100644 --- a/Assets/Scripts/TimeScaleController.cs +++ b/Assets/Scripts/TimeScaleController.cs @@ -34,7 +34,7 @@ public class TimeScaleController : MonoBehaviour #if UNITY_WEBGL if (Input.GetKey(KeyCode.LeftAlt) || Input.GetKey(KeyCode.RightControl)) { - if (Input.GetKeyDown(KeyCode.W)) + if (Input.GetKeyDown(KeyCode.A)) { Debug.Log("Ctrl + W ±»°΄ΟΒ£‘"); string str = string.Empty;