Teaching Newbies since 2014

kauress

  • Home
  • Javascript ❤
    • JavaScript
    • Node.js
  • WebDev Tuts
  • screencasts
  • Resources
  • VR & AR
  • Contact
  • Github
  • Twitter
  • YouTube
  • RSS
  • C++
You are here: Home / Unity3D / Introduction to C# in Unity #13: 🥑 If – else if – else conditional statements

February 19, 2021 by: Kauress

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

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
 }
Introduction to C# in Unity #12: 🥑 else block
Unity Editor Basics #1: Title bar 📜

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Copyright © 2021 ·Kauress