石头引擎合入,添加了抖动,进度条,速度显示

This commit is contained in:
2025-01-23 23:07:18 +08:00
parent f0a7b63f32
commit da77bb6023
10 changed files with 2051 additions and 1328 deletions
@@ -20,6 +20,7 @@ namespace AibisDream
private bool _isSuccess;
public float curSpeed;
public float targetSpeed=0.95f;
[HideInInspector] public UnityEvent<float, float> updateSpeedEvent = new();
[SerializeField] private float coverMoveDuration = 5f;
@@ -61,7 +62,7 @@ namespace AibisDream
private void Update()
{
updateSpeedEvent.Invoke(curSpeed, GetSpeedScale());
if (curSpeed >= 0.99f && !_isSuccess)
if (curSpeed >= targetSpeed && !_isSuccess)
{
_isSuccess = true;
isPullActive = false;