大约有 230 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0079 秒)
...作 pangziAnimator.play("hello"); })); })); ``` (图6) ### 批量预加载资源 上面的例子Scene.load()方法是资源的异步加载,有时候3D的资源比较大,需要预加载来来提升首屏的体验。这时候我们可以用加载器预加载。 2D游戏资源...
来源: Laya2.0_文档 发布时间: 20210715
...加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):voi...
来源: Laya2.0_api 发布时间: 20190513
...加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node clearAll():void 重置当前对象的所有属性 GridSprite clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当...
来源: laya_api 发布时间: 20170929
... return obj; }); } } 加载类里不需要考虑是单独加载,还是是批量加载其中一个环节,因为task.createCallback可以很好的将总体进度归一化为0~1。 复杂的例子可以参考引擎里的TextureLoader/MaterialLoader/MeshLoader之类。 然后使用Loader.registerLoa...
来源: Laya3.0_文档 发布时间: 20251010
...加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):voi...
来源: Laya2.0_api 发布时间: 20190513
...加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode advanceTime(passedTime:Number = 1):void 时钟...
来源: Laya2.0_api 发布时间: 20190513
...加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):voi...
来源: Laya2.0_api 发布时间: 20190513
...加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):voi...
来源: Laya2.0_api 发布时间: 20190513
...加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):voi...
来源: Laya2.0_api 发布时间: 20190513
...加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Component clearTimer(caller:*, method:Fu...
来源: laya_api 发布时间: 20170929