Unity Learn home
View Tutorial Content

IF 语句

Tutorial
Beginner
+0 XP
5 Mins
(275)
Overview
Summary
如何使用 IF 语句在代码中设置条件。
本教程包含在“初级编程”项目中。
上一教程:约定和语法
下一教程:循环
Select your Unity version
Last updated: November 17, 2023
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
IF 语句