Null object reference » 空对象引用 NOCION DE UBUCACION DE VIA DE ESCAPE » 概念的逃生路线的组织地点 ..
基于12个网页-相关网页
空对象引用的问题 null object reference
在行空对象引用 null object reference at line
空对象引用的有关问题 null object reference
行空对象引用 null object reference at line
new函数除了构建一个包括它的对象引用以外,基本上没什么作用。而且您可以看到,其它的函数在执行前必须先将那个空指针解开。
The new function basically does nothing besides building the object reference to contain that, and you can see that the other functions have to unpack the void pointer before getting down to business.
一个弱引用对象将会保持一个指向一个超出作用域或者被置空的对象的引用,直到它确实被垃圾回收删除。
A weak reference object will keep a reference to an object that went out of scope or was set to null, until it is actually deleted by the garbage collector.
创建一个名为“物理测试”的空游戏对象并添加“物理测试”脚本,并设置它的方块引用和初始速度。
Create an empty game object named PhysicsTest and add script PhysicsTest to it and set both, cube reference and initial velocity of it.
应用推荐