Complete C# Unity Game Developer 3D

Just started the course - my 2nd day into the course. I am currently at section 2, Obstacle course, lecture 9, 9 minutes and 53 seconds. Inputted “transform,translate(0.01,0,0);” into the C# script (exactly how and where the instructor had typed it into the console). Received error message stating “Assets\Mover.cs(16,29): error CS1503: Argument 1: cannot convert from ‘double’ to ‘float’”. PLEASE HELP!


Keep watching the video, Rick talks about this and teaches you about the error message. :slight_smile:

Hi PreyEyez89,

Welcome to our community! :slight_smile:

If you were not able to find the solution in the video, add an f behind 0.01: 0.01f.


See also:

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms