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

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.

主站蜘蛛池模板: 鹤壁市| 昂仁县| 山阳县| 上杭县| 双江| 孙吴县| 浪卡子县| 宝山区| 左贡县| 巴林右旗| 正安县| 罗田县| 怀仁县| 澄迈县| 柳河县| 河源市| 英吉沙县| 新兴县| 延吉市| 临清市| 云浮市| 香河县| 武川县| 定襄县| 招远市| 洛扎县| 大港区| 兴文县| 增城市| 巫山县| 军事| 武穴市| 天台县| 高雄县| 定襄县| 泸溪县| 马边| 株洲市| 鄂托克旗| 库尔勒市| 金乡县|