I\'m trying to make my character dodge when pressing a key, but I keep geting this error
CS1501: No overload for method
Dodge\' takes2\' arg
You are calling the Dodge method by passing two arguments, for example: Dodge(DodgeDirection.Forward, dodge); but your method only asks for one:
public void Dodge(DodgeDirection dir)
So in order to solve this, you have two options:
FixUpdate method.