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

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

631. UI-RadioGroup [ 72%]

.../../res/ui/radioButton (2).png", "../../res/ui/radioButton (3).png"]; Laya.loader.load(skins, Handler.create(this, initRadioGroups)); })(); function initRadioGroups() { for (var i = 0; i ; constructor(){ // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage....

来源: Laya_示例 发布时间: 20251209

632. UI-RadioGroup [ 72%]

...1).png", "res/ui/radioButton (2).png", "res/ui/radioButton (3).png"]; Laya.loader.load(skins, Handler.create(this, this.initRadioGroups)); } initRadioGroups() { for (let i = 0; i ; constructor(){ // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MI...

来源: Laya2.0_示例 发布时间: 20251209

633. 3D动画是如何进行控制播放的? [ 72%]

...法的吗? var skinMesh = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/dude/dude-him.lm"))); skinMesh.transform.localRotationEuler = new Laya.Vector3(0, 3.14, 0); var skinAni = skinMesh.addComponent(Laya.SkinAnimations); skinAni.templet = Laya.AnimationTemple...

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

634. 用 texturepacker .json+.png File [ 72%]

...折叠 要回复问题请先登录 发起人 WH... 相关问题 Failed to load resource: net::ERR_FILE_NOT_FOUND 初学者,LayaAir IDE舞台不显示效果,并提示file: 发布微信小游戏时,[ERR]|MergeJS Fail, File not found : E:\svnwork\layawork\bin\h5\index.html ENOENT: no such file or d...

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

635. 【2.0】没有drawToCanvas方法,2.0怎么做截图? [ 72%]

...not defined? 有没有克隆控件的方法,prefab能否在代码上调用 load方法的progress回调进的次数太少了。是我哪里设置有问题么 安卓的截图问题 单个场景加载的时候,使用的Scene3D.load方法的第一个例子,地面部分是白色的 layabox 截图 关...

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

636. laya.d3.animation.AnimationClip [ 72%]

...tionClip  duration():Number 获取动画片段时长。 AnimationClip  load(url:String, complete:Handler):void[static] 加载动画片段。 AnimationClipProtected Methods  MethodDefined By  _disposeResource():void[override] AnimationClipProperty Detailisloopingpropertypublic var islooping:Bo...

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

637. UI-ProgressBar [ 72%]

...e = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); Laya.loader.load(["res/ui/progressBar.png", "res/ui/progressBar$bar.png"], Handler.create(this, this.onLoadComplete)); } onLoadComplete() { const ProgressBar = Laya.ProgressBar, Handler = Laya.Handler; this.progressBar = new Progr...

来源: Laya2.0_示例 发布时间: 20251209

638. 运行时网页黑屏,报错提示 [ 72%]

...ctor3改成Vector3。 4、clone方法未定义的报错,GameManager.js的LoadSceneFin方法内,在制作拐弯墙预制体时,获取的节点wallCurve未添加组件,错误的给wall又添加了一次组件导致,将制作拐弯墙预制体的wall.addComponent(Wall)改为wallCurve.addCompo...

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

639. Layabox如何做个加载进度条 [ 72%]

...回复问题请先登录 发起人 guoqian 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) 官方有没有考虑做个完整的DEMO Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行时 找不到类的...

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

640. progressbar设置皮肤后, 马上destroy会报bug [ 72%]

... if (this._skin != value) { this._skin = value; if (this._skin && !Loader.getRes(this._skin)) { ILaya.loader.load(this._skin, Handler.create(this, this._skinLoaded), null, Loader.IMAGE, 1); // TODO TS } else { this._skinLoaded(); } } } protected _skinLoaded(): void { this._bg.skin = this._sk...

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