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

大约有 2,154 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0108 秒)

981. 鼠标交互-修正交互区域 [ 76%]

...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Text = Laya.Text; var Event = Laya.Event; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var logger; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Brows...

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

982. 点击区域问题 [ 76%]

点击区域问题 var con1:laya.display.Sprite = new laya.display.Sprite; Laya.stage.addChild(con1); con1.x = con1.y = 100; var con:laya.display.Sprite = new laya.display.Sprite; con1.addChild(con); // con.scrollRect = new laya.maths.Rectangle(200,200,500,500); con.x = con.y = -200; var sp:laya.di...

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

983. laya有没有进入舞台和移除舞台时触发的事件,类似于Event.REMOVED_FROM_STAGE,Event.ADDED_TO_STAGE [ 76%]

...事件 成都雨墨游戏 求 laya 程序开发人员 关于遍历产生的sprite点击事件,急,大神帮看哈 Laya mac版的IDE 是没测试就上线了吗? Laya 安卓端 在服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个小...

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

984. laya.ui.FontClip_API3.0 [ 76%]

...56 _graphics _graphics: AutoBitmap Inherited from Clip._graphics Overrides Sprite._graphics Defined in laya/ui/Clip.ts:151 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/...

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

985. 添加模糊滤镜后跳出警告 [ 76%]

...显示对象添加到matter.js里的物理引擎世界里 lh文件内meshSprite添加阴影属性无效 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 为什么给Sprite容器添加点击事件没反应 遮罩 模糊 发布之后如何添加新ui ...

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

986. [LayaAir3]通过对象池创建的物体,碰撞事件无法正常触发 [ 76%]

...折叠 要回复问题请先登录 发起人 炳志要爆发 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 缓动Tween能用在3D物体或者特效上面吗? unity中的...

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

987. 鼠标交互-修正交互区域 [ 76%]

...stage.on(Event.MOUSE_DOWN, this, this.onDown); } createCoralRect() { const Sprite = Laya.Sprite, Event = Laya.Event; let coralRect = new Sprite(); coralRect.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height / 2, "#FF7F50"); //设置名称 coralRect.name = "珊瑚色容器"; coralRect.size(...

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

988. laya.ui.List_API3.0 [ 76%]

...Children?: boolean): List Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns List Properties Optional _extra _extra: INodeExtra Inherited from ...

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

989. laya.ui.ComboBox_API3.0 [ 76%]

...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...

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

990. laya.ui.RadioGroup_API3.0 [ 76%]

...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...

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