• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 779 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0082 秒)

761. laya.display.Scene [ 36%]

...tring — 场景地址  complete:Handler (default = null) — 加载完成回调,返回场景实例(可选)  progress:Handler (default = null) — 加载进度回调(可选) onClosed()method  public function onClosed(type:String = null):void关闭完成后,调用此方法(如果有...

来源: Laya2.0_api 发布时间: 20190513

762. laya.ani.swf.MovieClip [ 35%]

...ull):void 从开始索引播放到结束索引,结束之后出发complete回调 MovieClip pos(x:Number, y:Number, speedMode:Boolean = false):Sprite 设置坐标位置。相当于分别设置x和y属性。 因为返回值为Sprite对象本身,所以可以使用如下语法:spr.pos(...).scale(....

来源: laya_api 发布时间: 20170929

763. laya.ani.swf.MovieClip [ 35%]

...ull):void 从开始索引播放到结束索引,结束之后出发complete回调 MovieClip pos(x:Number, y:Number, speedMode:Boolean = false):Sprite 设置坐标位置。相当于分别设置x和y属性。 因为返回值为Sprite对象本身,所以可以使用如下语法:spr.pos(...).scale(....

来源: Laya2.0_api 发布时间: 20190513

764. laya.display.Animation [ 32%]

...,否则会创建失败,如果不想预加载或者需要创建完毕的回调,请使用loadAnimation(...)方法; 2. 图集路径:使用此类型创建的动画模版不会被缓存到动画模版缓存池中,如果需要缓存或者创建完毕的回调,请使用loadAtlas(...)方法;...

来源: laya_api 发布时间: 20170929

765. laya.display.Animation [ 32%]

...,否则会创建失败,如果不想预加载或者需要创建完毕的回调,请使用loadAnimation(...)方法; 2. 图集路径:使用此类型创建的动画模版不会被缓存到动画模版缓存池中,如果需要缓存或者创建完毕的回调,请使用loadAtlas(...)方法;...

来源: Laya2.0_api 发布时间: 20190513

766. 2.x引擎项目升级指南 · LayaAir3.0文档 · LAYABOX [ 31%]

...Enter, onCollisionEnter, onMouseClick, onKeyDown等与输入输出相关的回调。除此之外,Script与Component无本质区别。开发者一般使用Script。 4.3 Component或Script的Update/LateUpdate方法是否在IDE编辑模式下运行,由他们的runInEditor属性决定。开发者则...

来源: Laya3.0_文档 发布时间: 20230406

767. LayaAir引擎工具会员专属功能介绍(TypeScript-简介篇(TS)-LayaAir引擎简介) [ 30%]

...完,所以,之前的加载使用逻辑要放到合并后的文件加载回调里。 JSON示例参照代码如下: ```typescript //先加载plf类型的合并后文件Image.json Laya.loader.load([{url: "res/Image.json", type: "plf"}], Handler.create(this, function():void { //在回调里,正...

来源: Laya2.0_文档 发布时间: 20210714

768. laya.display.Text_API3.0 [ 30%]

...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 。 Parameters node: Node 指定的 Node...

来源: Laya3.0_api 发布时间: 20231115

769. laya.display.Input_API3.0 [ 29%]

...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 。 Parameters node: Node 指定的 Node...

来源: Laya3.0_api 发布时间: 20231115

770. laya.display.Sprite [ 27%]

...地址。  complete:Handler (default = null) — (可选)加载完成回调。 ReturnsSprite — 返回精灵对象本身。 localToGlobal()method  public function localToGlobal(point:Point, createNewPoint:Boolean = false, globalNode:Sprite = null):Point 把本地坐标转换为相对stage的...

来源: Laya2.0_api 发布时间: 20190513