Unity Learn home
View Tutorial Content

三元运算符

Tutorial
Intermediate
5 Mins
(100)
Overview
Summary
如何利用三元运算符建立简单、简写的 IF-ELSE 逻辑条件。
Select your Unity version
Last updated: February 16, 2020
2019.3
2019.2
2019.1
2018.4
2018.3
2018.2
2018.1
2017.4
2017.3
2017.2
2017.1
5.x
4.x
Language
Chinese
Also included in
Unity Pro
The complete solution for professionals to create, operate and monetize.
三元运算符