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

Instance? What is it?

In object-oriented programming, an instance is simply a copy of the object. In this case, there is one copy of our LearningScript file. We are using two terms here: GameObject and Object. Do not mix this up; they are, in fact, two different things. GameObject is a object in your Unity scene. It contains components such as Transform or our newly created LearningScript.

Object in programming means an instance of the script. Don't worry about the terminology too much at this stage. I am sure that the difference between these two will become much clearer soon.

主站蜘蛛池模板: 遂川县| 安国市| 大田县| 信宜市| 南通市| 潞西市| 南安市| 东安县| 司法| 宜昌市| 卓资县| 汝州市| 巧家县| 板桥市| 泗水县| 廉江市| 华阴市| 顺义区| 全南县| 临桂县| 河西区| 彩票| 新昌县| 怀集县| 宁明县| 齐河县| 英山县| 淅川县| 莱阳市| 漳浦县| 鹤峰县| 井冈山市| 富顺县| 都江堰市| 平昌县| 获嘉县| 翁牛特旗| 东丰县| 乌拉特前旗| 华安县| 甘泉县|