Skip to main content
Unity3D

Introduction to C# in Unity #13: 🥑 If – else if – else conditional statements

By February 19, 2021No Comments
If - Else If - Else Conditional
https://www.youtube.com/watch?v=YwJgm6dFFlc&feature=youtu.be

🥑 Use else if to specify a new condition to test, if the first condition is false

else if (condition2) 
 {
   // block of code to be executed if the condition1 is false and condition2 is True
 }

Leave a Reply