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

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.

主站蜘蛛池模板: 阿拉善盟| 仪陇县| 察哈| 杂多县| 呈贡县| 寿宁县| 青河县| 公安县| 任丘市| 马公市| 肇源县| 托克逊县| 民县| 新巴尔虎右旗| 滁州市| 文登市| 获嘉县| 仁怀市| 凉山| 瓦房店市| 珲春市| 平原县| 长丰县| 五华县| 根河市| 嘉定区| 和田市| 交城县| 克什克腾旗| 长岭县| 修武县| 青浦区| 安岳县| 获嘉县| 香港| 个旧市| 抚顺市| 正蓝旗| 永靖县| 陆川县| 泗水县|