Unity Beginner Tutorial - Part 2.5: Movement

Опубликовано: 09 Февраль 2025
на канале: tutmo
447
21

#unity #unityTutorial #learnUnity #UnityCompleteGame

Download Unity: https://unity.com/download

If you’re just starting out in Unity, this tutorial should help you learn how to create basic movement with a bit of C# code. In the last video, we wrote a script that let our player move our bird with a sort of flapping motion. Now, let’s build on that simple movement mechanic and add some moving pipes for the player to dodge.

📺 All Tutorial Parts
Part 0 | Unity Setup:    • Unity Beginner Tutorial - Part 0: Ins...  
Part 1 | 3D Objects:    • Unity Beginner Tutorial - Part 1: 3D ...  
Part 2 | Coding in C#:    • Unity Beginner Tutorial - Part 2: Cod...  
Part 2.5 | Movement: Current Video!
Part 3 | Spawning:    • Unity Beginner Tutorial - Part 3: Spa...  
Part 4 | Collisions:    • Unity Beginner Tutorial - Part 4: Col...  
Part 5 | Scoring:    • Unity Beginner Tutorial - Part 5: UI ...  
Part 6 | Game Over:    • Unity Beginner Tutorial - Part 6: Gam...  

📁 Project Files: https://bit.ly/2ZqoyKN

🎮 Games We Made: https://tutmo.itch.io/

❤️ Subscribe: https://bit.ly/2XOcUXm

😎 Join the Discussion!
● Discord:   / discord  
● Twitter:   / tutmoyt  
● Instagram:   / tutmobuffet  

Video Content
0:00​ - Intro
0:27​ - Create a Parent Game Object
0:44 - Reset a Component
1:45​ - Moving Objects in Unity
2:15​ - Duplicating Objects
3:10​ - Creating a C# Script
3:25​ - Attaching a Script to an Object
3:55​ - Coding a Script in Unity
4:31​ - Updating a Transform's Position with Code
6:10​ - How to Normalize Speed (Time.deltaTime)
7:18​ - Changing Movement Speed with a Variable
8:21​ - Making Variables Show Up in Unity (SerializeField)
9:10​ - Changing a Variable's Value in Unity
9:48​ - Summary of Next Video