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

Instance? What is this?

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 these up, they are, in fact, two different things. GameObject is an 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.

主站蜘蛛池模板: 临漳县| 敦煌市| 霸州市| 沁阳市| 洛宁县| 土默特右旗| 襄垣县| 田林县| 鄂托克旗| 湄潭县| 肇源县| 乐安县| 郓城县| 连州市| 湖口县| 龙口市| 柳河县| 塔河县| 晋城| 恩平市| 东宁县| 芮城县| 鹿邑县| 邯郸市| 宁德市| 天水市| 沂水县| 阜新| 峨山| 民县| 东海县| 卫辉市| 正安县| 鹤山市| 永平县| 宜阳县| 清涧县| 浏阳市| 黄山市| 五大连池市| 温州市|