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

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.

主站蜘蛛池模板: 搜索| 紫阳县| 安龙县| 临武县| 菏泽市| 陕西省| 遵化市| 孝昌县| 罗甸县| 贵南县| 台南市| 洛阳市| 东兴市| 会理县| 红河县| 阿克陶县| 佛山市| 衡东县| 西充县| 曲阜市| 平和县| 阳江市| 象州县| 婺源县| 海兴县| 西和县| 沾益县| 柳江县| 新巴尔虎左旗| 罗山县| 江永县| 怀远县| 岫岩| 肇东市| 东阳市| 北川| 甘泉县| 大厂| 茌平县| 安吉县| 长寿区|