if conditional statement - C# Basics for Unity Beginners: #8
In part 8 we will talk about if else statements and how they are used to create branching logics or to control the flow of our methods in C# in unity.
C# Basics for unity series:
https://www.youtube.com/playlist?list=PLcRSafycjWFeHojgzbkNUXt9S6-Q7BGQE
Welcome to this C# Fundamentals for Unity Beginners series of 10 videos. We will first explore what are the basics of C# syntax and next we will create a small Vampire Survivors like game together so that you can see Why and How different C# concepts are used to create games in Unity.
-----------------
Starter Project:
https://www.patreon.com/posts/c-essentials-for-99701780
Learn more about C# & Game Dev in Unity in my video courses at:
https://courses.sunnyvalleystudio.com/
---------------
Join the discord:
https://discord.gg/RQEtYHz
You can support me through Patreon:
https://www.patreon.com/sunnyvalleystudio
Assets used:
https://kenney.nl/assets/tiny-dungeon
---------------
00:00 Problem of clouds moving our of view
01:18 What is an if statement
01:52 Coding an if statement
07.42 Weapon rotation
09:35 MoveRotation using Rigidbody2D
#unity3d #csharp #coding #gamdev
Видео if conditional statement - C# Basics for Unity Beginners: #8 автора Knowledge Ninja
Видео if conditional statement - C# Basics for Unity Beginners: #8 автора Knowledge Ninja
Информация
22 апреля 2024 г. 16:20:48
00:12:13
Похожие видео