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

大约有 4,103 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0070 秒)

4011. 图片遮罩大小跟设置不一致 [ 40%]

...Laya.loader.load("https://s2.d2scdn.com/2017/12/ ... ot%3B, Handler.create(this, function() { var t = Laya.loader.getRes("https://s2.d2scdn.com/2017/12/ ... 6quot;); var ape = new Sprite(); ape.scaleX = 0.5 ape.scaleY = 1 ape.graphics.drawTexture(t, 0, 0); Laya.stage.addChild(ape); ape.pos(200, 0); ...

来源: Laya_社区 发布时间: 20171220

4012. 动效模板(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 40%]

...后添加到舞台 Laya.loader.load("./res/atlas/ui.atlas",Handler.create(this,onLoaded)); } private function onLoaded():void { //实例导出的UI类 var efc:EffectAnimationDemoUI = new EffectAnimationDemoUI(); //添加到舞台 Laya.stage.addChild(efc); } } } ``` 运行后,按钮被按下时,...

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

4013. laya.html.dom.HTMLIframeElement_API3.0 [ 40%]

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

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

4014. Button属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 40%]

...功后,执行onLoaded回调方法 Laya.loader.load(skin, Handler.create(this, onLoaded)); } private function onLoaded():void { //创建一个Button实例 var btn:Button = new Button(skin); //将Button添加到舞台 Laya.stage.addChild(btn); //设置Button相关的属性 btn.width = 100; btn.heigh...

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

4015. 重要问题:关于苹果审核被拒 [ 40%]

...e.  Continuing to use or conceal non-public APIs in future submissions of this app may result in the termination of your Apple Developer account, as well as removal of all associated apps from the App Store.   2018-02-28 0 2 分享 微博 QZONE 微信 riven 赞同来自: 请问你们新的库什...

来源: Laya_社区 发布时间: 20180225

4016. Box2D使用Destory join报错? [ 40%]

...用两次destroyJoint  ;box2d.ENABLE_ASSERTS&&box2d.b2Assert(0<this.m_jointCount); 这句话会报错 2018-11-06 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 提供复现精简demo 2018-11-07 0 0 分享 微博 QZONE 微信 kura 赞同来自: 心塞 ,难道移除sprite时需...

来源: Laya_社区 发布时间: 20181106

4017. laya.html.dom.HTMLDivElement_API3.0 [ 40%]

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

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

4018. 小游戏字体bug:使用位图字体,加载解析出错。使用ttf字体在小游戏中无效果 [ 40%]

...   改成xml加载也不行 Laya.loader.load("res/msyhbd.fnt",new Handler(this,function():void{                                              }),null,Loader.XML) 这样都报错 2018-05-16 0 7 分享 微博 QZONE 微信 薛召 赞同来自: 加入xml解析后,部...

来源: Laya_社区 发布时间: 20180410

4019. android下layabox调用Laya.Texture2D.load报错 [ 40%]

...exture' of null 02-06 14:59:43.858  6545  6658 I LayaBox : var glTexture=this._source=gl.createTexture(); 02-06 14:59:43.858  6545  6658 I LayaBox :                                ^ 02-06 14:59:43.858  6545  6658 I LayaBox : TypeError: Cannot read property 'createTexture' of nu...

来源: Laya_社区 发布时间: 20180206

4020. laya.d3.core.Camera_API3.0 [ 39%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void clone clone(): Camera Overrides RenderableSprite3D.clone Defined in laya/d3/core/Camera.ts:758 Returns Camera contains contains(node: Node): boolean Inherited...

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