LEARN UNITY - The Most BASIC TUTORIAL I'll Ever Make

preview_player
Показать описание
EXPAND for Time Stamp Links -- This is the most basic Unity tutorial I will ever make. If you are brand new to Unity, or if you want to make sure you’ve covered the basics, and if you want to learn how to write your first C# script - this is the video for you!

Over the course of 2 hours, I go through the User Interface, Game Objects, Transforms, Components, Prefabs, and writing your first C# script to get user input, how to fix your first bugs, and even how to refactor your code to improve it.

You can support me on Patreon:

New Imphenzia Merch is available:

TIMESTAMPS:
00:00 Intro
00:55 Creating a Unity Project

01:45 UNITY USER INTERFACE
01:50 Scene Window
02:12 Game Window
02:50 Hierarchy Window
03:20 Hierarchy Object Order
04:30 Project Window
05:10 Inspector Window

05:43 GAME OBJECTS, TRANSFORMS, COMPONENTS
05:46 Create a Game Object
06:00 What is a Game Object?
07:20 Toolbar - Move, Rotate and Scale
08:56 What is a Transform?
09:26 What are Components?
09:37 Mesh Filter
10:01 Mesh Renderer
10:24 Box Collider
11:10 Renaming Game Objects
11:32 Play
12:00 Create a Material
12:35 Modify a Material
13:12 Assign a Material
13:37 Navigating the Scene - Rotate / Pan / Zoom / Frame
14:30 Duplicate a Game Object
15:43 Z-Fighting
16:20 Change Game Object Scale
17:28 Make a Child Game Object
18:10 World vs Local Position
18:30 Parent vs Child Position

19:45 PREFABS
20:10 Creating a Prefab
20:45 Placing a Prefab in a Scene
21:50 Using Game Objects as Folders
23:42 Edit a Prefab
24:58 Overriding a Prefab Value
25:27 Revert or Apply change to Prefab
26:44 ADDING A PLAYER
28:28 Rigidbody Component
29:50 Switching between Scene and Game Window

31:35 ADDING USER INPUT
32:20 C# vs Other Languages
32:46 Creating your First Script
33:20 Visual Studio as Script Editor
33:45 The Unity Default C# Script - Demystify Everything
34:08 "Using" keyword - Namespaces
35:52 Semicolons
36:42 What is a Class?
37:20 Adding a script as Component to a Game Object
38:33 Renaming a Class
39:15 Class Inheritance
39:35 What is MonoBehaviour
40:00 Squirly / Squiggely Brackets
40:18 Methods (or Functions)
40:40 MonoBehaviour Start()
41:43 What is "void"?
42:10 MonoBehaviour Update()
42:45 About VSync, FrameRate, and Update()

43:40 WRITING YOUR FIRST LINE OF CODE
43:54 Understanding the "If" statement
44:50 Declaring a bool field (or variable)
45:45 Why == instead of = ?
46:08 Creating a Method
46::30 Ctrl Period to Suggest and Auto Complete
48:05 If statement for User Input
48:20 Input.GetKeyDown
52:25 Intellisense - Code Suggestion and Auto Complete
56:40 Debug.Log
59:13 GetComponent
59:50 Add Force to Rigidbody
1:00:40 What is a Vector3?
1:04:50 MonoBehaviour - FixedUpdate()
1:08:10 Input in Update() and Physics in FixedUpdate()
1:11:45 About "Refactoring" and trying to write "Perfect Code"
1:13:05 Horizontal Input for Movement
1:14:03 What is a float?
1:15:06 Input.GetAxis
1:16:03 InputManager
1:18:11 Applying sideways forces for movement
1:21:42 Flappy Bird Clone Complete =)

1:22:00 FIXING YOUR FIRST BUGS
1:22:25 Avoiding GetComponent everywhere - use field
1:24:10 Bug #1 - Player Tumbles Over
1:24:30 Rigidbody Constraints - Freeze Rotation and Position
1:24:53 Titanic Reference :)
1:24:57 About making changes during Play Mode
1:25:55 Bug #2 - Infinite Air Jumping
1:26:10 OnCollisionEnter() and OnCollisionExit()
1:28:10 Exiting a method early
1:31:00 Exposing a field / variable to the Inspector
1:33:15 Using gizmo to force Scene view to axis and isometric
1:35:05 Physics.OverlapSphere()
1:39:25 Defining and using Layers
1:41:10 LayerMask
1:44:45 Physic Materials and Friction

1:49:05 COLLECT COINS
1:42:30 OnTriggerEnter()
1:53:42 Destroy() GameObject (to remove picked up coins)
1:54:50 Adding SuperJump powers
1:58:00 Level Editing in the Scene Window

1:58:53 OUTRO - What did you learn?
1:59:25 How did I learn Unity and Making Games?
1:59:38 Making a platform game by asking yourself "Can I"?
2:03:04 My 4 Key Advices to making games in Unity

Official web site:

Twitter:

My Itch.Io page with all my Ludum Dare games:

Imphenzia Discord server invite:
Рекомендации по теме
Комментарии
Автор

"You don't get better at coding, you get better at googling what to code" - Some professional coder

Yintalk
Автор

The section starting at 1:59:39 is SO INSPIRING. I feel like Unity could straight-up use that section as marketing material.

TheKarishi
Автор

Can I just say as someone who's just started trying to learn both Unity and Blender, your videos are the best!

aaronelliott
Автор

This is one of the best tutorials ever created on Youtube. I can't believe this kind of content is free to us all, what a world we live in.

tomali
Автор

This is like my 5th "Unity tutorial for beginners" that I've followed along with, and this one is the best I've seen. Well done.

ChadWellsForReal
Автор

I am extremely impressed at your ability to assume the viewer knows nothing (as I do), and teach completely from the ground up. AMAZING video, and I think you've sparked my interest in learning more about Unity. Thank you.

MrAndyjobo
Автор

You have such a great "teacher attitude" and you know exactly what beginners wants to know. Very well done, a wonderful and informative video!

sam.ammatouri
Автор

If anyone is having an issue where "Input" doesn't show a drop down menu and "Monobehaviour" Isn't the correct color:
Make sure that Unity's external script editor is set to Visual Studio.
You can change this by clicking Edit in the top left corner, and then preferences.
Also make sure to restart Visual Studio.

Weddlz-
Автор

Love this guy's dad jokes. "I'm not depressed but I have D pressed" lmao

SovaySovay
Автор

"Let's press play and see if this is a fun game.... Nope, still sucks."
Oh if only big game companies did this at least once in their games. LOL

chaosmastermind
Автор

Duuuude the timing couldn't have been any better. Just minutes ago i decided i want to finally start learning Unity and you just uploaded this video!
You are a godsend!

RoughDonut
Автор

Thanks for the best UNITY tutorial! as an Unreal Unser, just Unity starter, I have searched many places, no one really explained that well as you did here, thanks again for your insanely detailed content.

cathychoi
Автор

The fact that a feature length film level tutorial exists for free and is this clear and this detailed gives me hope for humanity. You're the best man!

ironcrossadmiral
Автор

Finally thank god, a simple tutorial that actually outlines the purpose of the code! You are a saint, everyone else places “beginner tutorial” in the title then goes into high level scripting without so much as an explanation

ttracs
Автор

I've been a developer for over 20 years, and I've sat through more video and in-person tutorials, for dozens of programming languages, applications, frameworks, libraries, etc, than I care to remember - I honestly don't recall seeing a better one than this. Superb.

DannyCallaghan
Автор

That "can i" part blown my mind😂😂

harshjain
Автор

19:26 I laughed so hard when you said "I can reparent this child object and then the problem pretty much goes away"
Honestly there are so many professionals giving these tutorials on how to use software and all of them have something about them that is a bit off like how they talk or their sense of humour, but you hit it all out of the park. Congrats.

Hangaroid
Автор

teacher :-teaches code
-write code
-"why is it not working?"

yep, i would love to know more about this profession

DanSpartan
Автор

This is the best unity starter tutorial I’ve found. I needed something basic to move from my basic 3D modelling and basic programming to get into unity, and this was exactly the right balance. And like other comments, 2hrs video that you don’t want to skip through or get bored with, is something in itself. Well done!

mrCetus
Автор

Respect, this is the perfect walk through a beginner at Unity needs. No stupid skits, no advertisement, just a solid tutorial. Thanks!

StubenhockerElite