Unity Learn home
View Tutorial Content

GetComponent

Tutorial
Beginner
+0 XP
5 Mins
(157)
Overview
Summary
如何使用 GetComponent 函数来处理其他脚本或组件的属性。
本教程包含在“初级编程”项目中。
上一教程:OnMouseDown
下一教程:Delta Time
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
GetComponent