Hey quick question - how do I fix this error :
Argument #1' cannot convert bool’ expression to type `float’
This is the line of the code:
motion *= (Mathf.Abs(input.x) == 1 && Mathf.Abs(input.z == 1))? 0.7f : 1;
sorry C# is not my strong suit.
Thanks.