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

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.

主站蜘蛛池模板: 新宁县| 珲春市| 汝城县| 东海县| 枞阳县| 晋江市| 若尔盖县| 新邵县| 交口县| 尉犁县| 神木县| 丽水市| 城市| 伊春市| 冷水江市| 亳州市| 宁武县| 小金县| 龙口市| 榆中县| 涟水县| 稷山县| 美姑县| 满城县| 无棣县| 福海县| 朔州市| 封丘县| 新乐市| 姜堰市| 苏州市| 虞城县| 江西省| 芦山县| 吉木萨尔县| 闻喜县| 洛阳市| 龙口市| 武乡县| 皋兰县| 铜梁县|