this is what it says, Assets/scripts/HatController.cs(29,34): error CS1729: The type `UnityEngine.Vector2' does not contain a constructor that takes `1' arguments
and this is my code. I don't understand what is wrong in line 29 and 34 spaces over.
I'm getting an error and I don't understand why. please read code?
and this is my code. I don't understand what is wrong in line 29 and 34 spaces over.
Code (CSharp):