Pathways
LiveEducator Hub
  • Sidebar node image

    tutorial

    Add a movement script
Unity Version: 6.0
Change
Steps
  • 1 Mission overview
  • 2 Tutorial overview
  • 3 Open the programming scene
  • 4 Add a player to the scene
  • 5 Create a new PlayerController script
  • 6 Apply the script to the Player GameObject
  • 7 Open the PlayerController script in a script editor
  • 8 Copy and paste code and save
  • 9 Set the camera as a child of the player
  • 10 Edit player properties in Play mode
  • 11 Review and proceed to next tutorial
  • You finished!

Unity Version 6.0

Other versions available

Don’t have a compatible version?

Install a new version from the Unity Hub

Continue
Language
Social
Learning
  • Pathways
  • Courses
  • Projects
  • Tutorials
  • Educator Hub
Live
  • Live Sessions
  • Previously recorded
Education Plans
  • Students
  • Educators
  • Institutions
  • Certifications
Resources
  • Unity Asset Store
  • Community
  • Documentation
  • Unity FAQ
  • Learn FAQ
Unity
  • Unity.com
  • Newsletter
  • Blog
  • Events
  • Unity Play
Copyright © 2026 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.