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

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

1101. 正交相机要怎么控制啊,坐标什么的全部懵!看了这个官方示例表示不懂,为什么还要转化为2D坐标? [ 61%]

...0,0,0) var rotation = new Laya.Vector3(0, 0.01, 0); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () { layaMonkey.transform.localScale = new Laya.Vector3(300, 300, 300); Laya.Utils3D.convert3DCoordTo2DScreenCoord(translate, translate); layaMonkey.transform.position = translate; Laya....

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

1102. laya.display.Text [ 61%]

...| All Classes | Index | Frames No Frames TextProperties | Methods | Events | Constants Packagelaya.displayClasspublic class TextInheritanceText Sprite Node EventDispatcher ObjectSubclasses Input Text 类用于创建显示对象以显示文本。 注意:如果运行时系统找不到设定...

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

1103. unity资源导出的bug [ 61%]

...2) UnityEngine.Experimental.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:266) UnityEngine.Experimental.UIElements.IMG...

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

1104. 通过laya设计模式制作的,要怎么给按钮绑定事件呢? [ 61%]

...: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: on(Event.MOUSE_DOWN,this,onClick); 试一下吧  onclick 函数里再打印log 2017-12-13 0 10 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 这个进度条 var 为pro 另外一张图的类继承了之前页面发布生成...

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

1105. viewport 的用法 [ 61%]

...ite;   var HitArea = Laya.HitArea;   var Graphic = Laya.Graphics;   var Event   = Laya.Event;   var Layer = Laya.Layer;   var Rectangle = Laya.Rectangle;   function layaSlot(info){       layaSlot.__super.call(this);       this.size(200,200);       this.graphics.drawRect(0,0,200,200,'...

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

1106. Uncaught TypeError: Cannot read property 'props' of undefined [ 61%]

...0)     at Loader.Laya3D._onHierarchylhLoaded (laya.d3.js:15384)     at EventHandler.__proto.runWith (laya.core.js:1156)     at Loader.__proto.event (laya.core.js:911)     at Loader.__proto.complete (laya.core.js:14555)     at Loader.__proto.onLoaded (laya.core.js:14523)     at EventHandl...

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

1107. ide升级到LayaAirIDE_1.7.0_beta 后启动调试器报错 [ 61%]

...g-core\node_modules\vscode-debugadapter\lib\protocol.js:24:60) at emitOne (events.js:96:13) at Socket.emit (events.js:188:7) at readableAddChunk (_stream_readable.js:176:18)   附件 : --> 2017-02-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

1108. laya.display.EffectAnimation_API3.0 [ 61%]

...aying mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY playEvent rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache target texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent ...

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

1109. 动态加载代码后,总是出现 ProgressBar is not a constructor [ 60%]

...runWith (laya.core.js:686) at ResInfo.loadComplete (laya.core.js:12634) at EventHandler.__proto.runWith (laya.core.js:687) at ResInfo.__proto.event (laya.core.js:465) at LoaderManager.__proto._endLoad (laya.core.js:12504) at Loader.onLoaded (laya.core.js:12481) at EventHandler.__proto.runWith (laya....

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

1110. 用LayaAir引擎解析Tiled Map地图(JavaScript-2D进阶篇(JS)-扩展模块) [ 60%]

...3倍 this.tMap.scale = 3; this.MapX = 0; this.MapY = 0; Laya.stage.on(Laya.Event.RESIZE,this,resize); Laya.stage.on(Laya.Event.MOUSE_DOWN,this,mouseDown); Laya.stage.on(Laya.Event.MOUSE_UP,this,mouseUp); resize(); } /** * 移动地图视口 */ function mouseMove(){ var moveX = this.MapX - (Laya.stag...

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