// Use this for initialization void Start() { DoPlayerPath.GetTween().timeScale += 0.02f; // 是动画速度变快 DoCar1Path.GetTween().timeScale += 0.02f; DoCar2Path.GetTween().timeScale += 0.02f; DoCar3Path.GetTween().timeScale += 0.02f; // 开始动画 DoCar1Path.DOPlayForward(); DoCar2Path.DOPlayForward(); DoCar3Path.DOPlayForward(); DoPlayerPath.DOPlayForward(); }