大约有 7,353 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0123 秒)
Laya_社区(6642) Laya2.0_文档(183) Laya3.0_api(118) laya_api(102) Laya2.0_api(90) Laya_示例(86) Laya3.0_文档(75) Laya2.0_示例(57)
...机场景,以及两个粒子特效。在laya中代码如下: this._createSprite3D = 2; Laya.loader.create("res/h5/LayaScene_Effect/Effect.lh",Handler.create(this,this.onEffectOK),null,Laya.Sprite3D); Laya.loader.create("res/h5/LayaScene_aixin/aixin.lh",Handler.create(this,this.onEffectOK),null,Lay...
来源: Laya_社区 发布时间: 20180403
...入以下代码。 以下是ts文件的全部代码。module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import WebGL = Laya.WebGL; import Event = Laya.Event; export class Sprite_DrawShapes { private sp: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(7...
来源: Laya_社区 发布时间: 20170425
...ine", true); // 设置画布上的对齐参照物 let reference = new Laya.Sprite(); Laya.stage.addChild(reference); reference.pos(100, 100); reference.size(600, 400); reference.graphics.drawRect(0, 0, reference.width, reference.height, "#CCCCCC"); // 每次舞台尺寸变更时,都会调用Utils....
来源: Laya2.0_示例 发布时间: 20250226
...url: "../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", clas: Laya.Sprite3D, priority: 1 } ]; Laya.loader.create(resource, Laya.Handler.create(this, onLoadFinish)); function onLoadFinish() { this.scene = Laya.stage.addChild(Laya.Scene.load("../../res/threeDimen/scene/ColliderScene/ColliderDe...
来源: Laya_示例 发布时间: 20250226
...被折叠 要回复问题请先登录 发起人 小于同志 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 Dialog:屏蔽点击Dialog之外的区域关闭弹框 如何设置Sprite的宽高和点击区域? Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确...
来源: Laya_社区 发布时间: 20240226
...atar数据丢失了, 并且我游戏中要对武器进行节点绑定linkSprite3DToAvatarNode 附件 : --> 2019-10-23 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 这个新版弃用了...
来源: Laya_社区 发布时间: 20191023
类似于list下的按钮监听 !如何去做。 点击Sprite 可以监听到下面每个button点击事件从而做出不同的行为。。。这种 2018-06-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 18...
来源: Laya_社区 发布时间: 20180627
... 现在只是简单的色块改变位置 package { import laya.display.Sprite; import laya.events.Event; import laya.events.IEventDispatcher; import laya.utils.Browser; import laya.utils.Tween; public class testVH { protected var _tip:Sprite; public function testVH() { IEventDispatcher;...
来源: Laya_社区 发布时间: 20190520
...区域为黑色,其它机型都是正常的。 this.guideContainer = new Sprite(); this.guideContainer.cacheAs = "bitmap"; Utils.GuideLayer.addChild(this.guideContainer); this.guideContainer.on(Laya.Event.CLICK, this, this.nextStep); this.mouseEnabled = false; var maskArea: Laya.Sprite = new Laya....
来源: Laya_社区 发布时间: 20171222
...e; var Text = Laya.Text; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var Sprite = Laya.Sprite; var Animation = Laya.Animation; // Class Character function Character(images) { Character.super(this); Character.WIDTH = 110; Character.HEIGHT = 110; var bloodBar; var animation; var nameLabel; Character...
来源: Laya_示例 发布时间: 20250226