/// <summary> /// 切镜 /// </summary> private void PlayNextShoot() { if (Input.GetKeyUp(KeyCode.O)) { int num = int.Parse(HotKeys.clipName.Replace("shoot", "")); num++; HotKeys.PlayAnimation("shoot" + num.ToString()); animator.GetComponent <LuaBehaviour>().record = animator.GetComponent <LuaBehaviour>().ft; } }