// Update is called once per frame void Update() { HandleInput(); if (dash.isDashing) { transform.localPosition = dash.GetCurrentPosition(); } }