I'm currently working on a way for a player to dash for as school project and Unity keeps telling me that Vector2.right, left, and zero aren't set to an instance of an object. My code displays no errors and I'm not sure what to do about this issue. I've included some pictures showing both my code and the errors I'm getting, which are on lines 40, 49, and 52.
https://i.stack.imgur.com/ewmxr.png https://i.stack.imgur.com/D5fT8.png