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

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

621. Dialog用法——弹出回调 [ 61%]

...量加载json文件,然后等这些文件统一加载完后回调 Laya.Handler.create 加载图片回调参数问题 Dialog限制拖动区域有什么方法 const 用法 能否恢复Animation.getGraphicBounds在1.6时的用法 问题状态 最新活动: 2017-08-14 14:02 浏览: 942 关注: 2 人

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

622. 头条小游戏二进制文件加载失败 [ 61%]

...tlas0_1.png", type:Laya.Loader.IMAGE},                   ], Laya.Handler.create(this, this.onLoaded));     调用这个方法后,头条游戏报错,二进制文件Bag.xml加载失败,微信是好的,经过逐步断点找到问题的位置 laya.wxmini.js    MiniFileMgr.fs.readF...

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

623. 颜色滤镜 差值变化 [ 61%]

....Tween.to(ColorTool.getInstance(), { persent: 1 }, time * 1000, null, Laya.Handler.create(this, this.setPersent, [0])); }  /** * 颜色改变函数 * @param color 目标色值 * @param lastColor 当前色值 * @param persent 差值 */ public colorFilter(color: number, lastColor: number, persent: nu...

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

624. Laya.Texture2D.load崩溃问题 [ 61%]

... = new Laya.BlinnPhongMaterial();   Laya.Texture2D.load("ceshi.jpg", Laya.Handler.create(this, function (texture) { material.albedoTexture = texture; })); 附件 : --> 2020-12-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

625. Sprite3D的克隆(ActionScript-3D基础(AS3)-LayaAir3D之精灵) [ 61%]

... Laya.loader.create("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Handler.create(this, onComplete)); } ////完成回调 public function onComplete():void { //获取资源 var layaMonkey:Sprite3D = scene.addChild(Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")) as Sprite3D; ...

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

626. VScrollBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 61%]

...ar; import laya.ui.ScrollBar; import laya.ui.VScrollBar; import laya.utils.Handler; import laya.webgl.WebGL; public class UI_ScrollBar { /***垂直滚动条资源**/ private var skins:Array=["../../../../res/ui/vscroll.png", "../../../../res/ui/vscroll$bar.png", "../../../../res/ui/vscroll$down.png"...

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

627. HScrollBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 61%]

...ar; import laya.ui.ScrollBar; import laya.ui.VScrollBar; import laya.utils.Handler; import laya.webgl.WebGL; public class UI_ScrollBar { /***水平滚动条资源**/ private var skins:Array=["../../../../res/ui/hscroll.png", "../../../../res/ui/hscroll$bar.png", "../../../../res/ui/hscroll$down.png"...

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

628. Cannot read property 'rayCast' of undefined [ 61%]

...ite3D.load("res/scene/LayaScene_webgl_sky/Conventional/webgl_sky.lh", Laya.Handler.create(this, this.onLoadFinish)); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); } onLoadFinish(layaMonkey){ this.layaMonkey=this.scene.addChild(layaMonkey); // Laya.timer.frameLoop(1, this, this.onFrameL...

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

629. LAYABOX游戏实时语音之APP版本 [ 61%]

...t android.content.Intent; import android.os.Environment; import android.os.Handler; import android.os.Looper; import android.os.Message; import android.util.Log; import org.json.JSONException; import org.json.JSONObject; import java.util.ArrayList; import demo.MainActivity; import layaair.game.brows...

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

630. 加载图片显示为黑屏(附代码),为什么? [ 61%]

...GL; import laya.display.Sprite; import laya.ui.Panel; import laya.utils.Handler; public class LayaSample { private var rule_ct; public function LayaSample() { Laya.init(640, 1136, WebGL); Laya.stage.bgColor = "#CCBBAA"; var panel = new Panel(); Laya.stage.addChild(panel); panel.si...

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