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

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.

主站蜘蛛池模板: 固始县| 楚雄市| 任丘市| 义乌市| 阿勒泰市| 佛山市| 独山县| 奉贤区| 祥云县| 贵南县| 上杭县| 汝州市| 乡城县| 乡宁县| 文成县| 清水县| 津南区| 灯塔市| 青阳县| 珠海市| 壤塘县| 庐江县| 武义县| 平定县| 杭锦后旗| 专栏| 梁河县| 西林县| 巴南区| 文成县| 富源县| 洪湖市| 精河县| 天柱县| 西华县| 满城县| 剑阁县| 广汉市| 全椒县| 大名县| 巴中市|