石头Day1跑通

This commit is contained in:
2024-12-26 03:20:56 +08:00
parent 0595ae6156
commit e170b69379
41 changed files with 2759 additions and 1158 deletions
@@ -57,8 +57,7 @@ namespace AibisDream
engineData.CalcSpeed(config.acceleratedSpeed, config.resistance);
// 判断是否成功
if (engineData.CheckSuccess(config.targetSpeed))
{
Debug.Log("EngineSuccess");
{;
DialogController.Instance?.StartDialogNode("EngineSuccess");
}
}
@@ -219,7 +218,7 @@ namespace AibisDream
[Serializable]
public struct EngineData
{
private const float SuccessDuration = 3f;
private const float SuccessDuration = 1.5f;
public float curSpeed;
public float curOil;