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

大约有 1,169 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0048 秒)

951. 基本效果已经实现,想用for批量绑定事件 [ 52%]

...nction Haha(obj,yy,times1,alphas,times2) { Tween.to(obj,{y:yy},times1,null,Handler.create(this,function() { Tween.to(obj.loadtext,{alpha:alphas},times2,null,null,0); })); } 2017-06-26 1 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 cai958...

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

952. Laya.loader.load 加载场景报错 [ 52%]

Laya.loader.load 加载场景报错 Laya.loader.load( 模型url, Laya.Handler.create(this, function(){ this.scene = Laya.loader.getRes(模型url); Laya.stage.addChild(this.scene); }),null, null, 1, true, "scene1"); 执行后,浏览器报 : laya.core.js:13290 Uncaught TypeError: node._setParent ...

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

953. 打包之后TEXT可以显示但是 加载其他资源时白屏 [ 52%]

...es/image/bg.png"], type: Laya.Loader.IMAGE }); Laya.loader.load(asset,Laya.Handler.create(this,graphicsImg)); function graphicsImg(){ var s = new laya.display.Sprite(); s.graphics.drawTexture(Laya.loader.getRes("../res/image/bg.png"),0,0);  Laya.stage.addChild(s); } 新建一个工程 這样写打...

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

954. IDE发布之后,在res下并没有任何资源,这是什么情况啊? [ 52%]

...。改成 Laya.loader.load("res/atlas/Resources.json",laya.utils.Handler.create(this,this.onReader),null,laya.net.Loader.ATLAS);就好了 Buzhihew • 2017-01-11 15:50 @Monica:.......我.....总之谢谢啊啊啊 Monica • 2017-01-11 15:51 @Buzhihew:不客气(*^__^*) ...... wuquanan • 2...

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

955. skin加载url资源不会刷新 [ 52%]

...);         Laya.loader.load("http://10.144.1.20:8081/files/ ... ot%3B, Handler.create(this, function (): void {             var t: Texture = Laya.loader.getRes("http://10.144.1.20:8081/files/ ... 6quot;);             var ape: Sprite = new Sprite();             ape.graphics.draw...

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

956. 2.0)js按照官方遮罩写的程序,无法正常执行, 请问怎么回事,代码见内。 [ 52%]

.../data.head_img:头像的url路径 head_img.loadImage(data.head_img, Laya.Handler.create(head_img, function () {              this.height = this.width = 77;        var cMask = new Laya.Sprite();//创建遮罩对象        var r = 38.5; //遮罩圆形半径              cMask.g...

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

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

...下代码:** ```java package { import laya.ui.Button; import laya.utils.Handler; import laya.webgl.WebGL; public class ComponentDemo { //按钮资源路径 private var skin:String = "./res/img/btn_test.png"; public function ComponentDemo() { //初始化引擎,设置宽高并开启WebGL渲染模...

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

958. [LayaAir3]3D场景里面鼠标感应区域 3.2.1跟3.3不同 [ 52%]

...例如下:   Laya.loader.load("RenderTexture.rendertexture", null, Laya.Handler.create(this, null, null, false)).then(() => { this.spRole.texture = Laya.loader.getRes("RenderTexture.rendertexture"); //设置纹理的宽高为舞台大小,这样才不会拉伸变形 this.spRole.texture.source...

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

959. 关于loader加载Loader.JSON的一些问题 [ 52%]

...ON资源时,发现一个奇怪的问题: Laya.loader.load(resUrl, Laya.Handler.create(this, function (res) { //解析题目 log(res);   //放置方块 }), null, Laya.Loader.JSON); }   代码运行到这老是报错,报错原因是有不认识的字符,我想了下,resUrl指向的是本...

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

960. Uncaught unknown animationClip version. [ 51%]

...来自: Laya.Scene3D.load("LayaScene_scene1/Conventional/scene1.ls", Laya.Handler.create(this, function (s: Laya.Scene3D): void { var scene = s; Laya.stage.addChild(scene);         }));   加载代码 2019-03-13 0 0 分享 微博 QZONE 微信 Zong 赞同来自: 断点调试显示clip.versio...

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