如果你还不了解组件和游戏对象之间关系,我们建议你在进一步学习之前阅读上一节。
If you don't yet understand the relationship between Components and GameObjects, we recommend that you read the GameObjects page before going any further.
We've seen in class that you get garbage values if you don't initialize something to a value so let me actually initialize x to a value.
我们在课程上了解到,如果你不给一个变量,进行赋值,它会获得一个无效值,让我把x初始化为一个值。
应用推荐