LEARN UNITY - The Most BASIC TUTORIAL I'll Ever Make
Imphenzia Imphenzia
280K subscribers
3,149,546 views
0

 Published On Jul 24, 2020

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:
  / imphenzia  

New Imphenzia Merch is available:
https://teespring.com/stores/imphenzia

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:
https://www.imphenzia.com

Twitter:
  / imphenzia  

My Itch.Io page with all my Ludum Dare games:
https://imphenzia.itch.io/

Imphenzia Discord server invite:
  / discord  

show more

Share/Embed