官术网_书友最值得收藏!

Components that communicate using dot syntax

Our script has variables for holding data, and our script has methods to allow tasks to be performed. I now want to introduce the concept of communicating with other GameObjects and the components they contain. Communication between one component's GameObject and another component's GameObject using dot syntax is a vital part of scripting. It's what makes interaction possible. We need to communicate with other components or GameObjects to be able to use the variables and methods in other components.

主站蜘蛛池模板: 九寨沟县| 泰和县| 神农架林区| 徐汇区| 临颍县| 万山特区| 梓潼县| 临高县| 金塔县| 建德市| 合肥市| 五莲县| 龙江县| 和平区| 克拉玛依市| 云龙县| 古丈县| 永丰县| 方城县| 望江县| 洮南市| 织金县| 抚州市| 互助| 大理市| 高碑店市| 赤水市| 安乡县| 怀柔区| 当涂县| 丹棱县| 府谷县| 社旗县| 肥城市| 龙里县| 富顺县| 城步| 滨海县| 柘城县| 富民县| 遵义市|