C# Ternary Operator in Unity! – Intermediate Scripting Tutorial
Watch this video in context on Unity Learn:
https://learn.unity.com/tutorial/ternary-operator
The Ternary Operator can be thought of as a simple, short hand syntax for an IF-ELSE statement. In this video, you will learn to Ternary Operation to test the condition of a variable.