This delegate simply returns the newly instantiated object and leaves the construction logic up to the client supplying the delegate.
该委托只是返回刚刚实例化的对象,而将构建逻辑留待提供该委托的客户端完成。
As the previous listings demonstrated, XJConf can use either attributes or child elements to correctly configure an instantiated object.
如上文中的清单所示,XJConf可以使用属性或子元素正确配置实例化的对象。
By default, when an Ajax request to DWR invokes a creator, the instantiated object is placed in page scope and therefore is no longer available after the request completes.
默认情况下,到DWR的Ajax请求会调用creator,实例化的对象处于页面范围内,因此请求完成之后就不再可用。
Memory is allocated automatically in the heap area for each instantiated object, and the garbage collector periodically reclaims memory occupied by objects that are no longer needed.
每个实例化的对象都自动在堆中分配内存,垃圾收集程序定期收回不再使用的对象所占据的内存。
After instantiating the Prefab you can also modify any properties of the instantiated object (e. g. you can set the velocity of the rocket's Rigidbody).
在实例预置物体后,还可以修改实例物体的任意属性(例如设置火箭刚体的速度)。
After instantiating the Prefab you can also modify any properties of the instantiated object (e. g. you can set the velocity of the rocket's Rigidbody).
在实例预置物体后,还可以修改实例物体的任意属性(例如设置火箭刚体的速度)。
应用推荐