Quantcast
Viewing all articles
Browse latest Browse all 4

Answer by HarshadK

Check the argument types and format for Vector2.ClampMagnitude which is: static Vector2 ClampMagnitude(Vector2 vector, float maxLength); where the arguments should be of type Vector2 and a float. You are providing three values to it instead of two. Convert your first two values into a Vector2.

Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>