if-else vs Conditional Operator & switch-case Explained - Unity C# Scripting Tutorial 23 🚀

1,510 views · Published 26 October 2015 · 34:35 · Indexed 6 November 2026

Channel: ChidresTechTutorials · 2015 · People & Blogs

Watch on YouTube

if-else vs Conditional Operator & switch-case Explained - Unity C# Scripting Tutorial 23 🚀
â–º Learn how to destroy an enemy after a fixed number of steps, compare if-else with the conditional operator, and understand the switch-case statement in this in-depth Unity C# scripting tutorial.

=========================================
â–º Time stamps:
0:00:00 How to destroy Enemy after a Fixed number of steps?
0:14:00 C# if-else vs C# Conditional Operator.
0:19:55 C# switch case Statement.

=========================================

â–º Follow the Link For Next Video: 
https://youtu.be/iZwUxsPJ0rE

â–º Follow the Link For Previous Video: 
https://youtu.be/21vYCZ_J-U0

=========================================

â–º Unity C# Scripting Tutorials Playlist:
https://www.youtube.com/playlist?list=PLdE8ESr9Th_vfn7aSIzAkudVRTLntF18w

=========================================
Watch My Other Useful Tutorials:

â–º Unity Scripting API - Introduction Tutorials:
https://www.youtube.com/playlist?list=PLdE8ESr9Th_tc4HPxXecXnU4GNbdo3EdA

â–º Unity Scripting API - MonoBehaviour Tutorials:
https://www.youtube.com/playlist?list=PLdE8ESr9Th_tLSOvCRbDyfhLAqVH7omOg

â–º Unity Scripting API - Time Tutorials:
https://www.youtube.com/playlist?list=PLdE8ESr9Th_sjK0Ib2_HIVquaqef7Di9k

â–º Unity Scripting API - Transform Tutorials:
https://www.youtube.com/playlist?list=PLdE8ESr9Th_s2iBzpSHck5ICInQWAKRyw

â–º Unity Scripting API - Input Tutorials:
https://www.youtube.com/playlist?list=PLdE8ESr9Th_so4JWarKmoLbnnIkoim_uH

â–º Unity Google VR Tutorials:
https://www.youtube.com/playlist?list=PLdE8ESr9Th_u8ke1_Qj5af741OBstc3yi

â–º Unity Vuforia AR Tutorials:
https://www.youtube.com/playlist?list=PLdE8ESr9Th_upP1O8CB6NIgpysUOCwF0-

=========================================

â–º Subscribe to our YouTube channel:
 https://www.youtube.com/chidrestechtutorials  

â–º Visit our Website: 
https://www.chidrestechtutorials.com

=========================================
â–º Hash Tags:
#UnityScripting #UnityCSharpScripting #Unity #ChidresTechTutorials

More from this channel