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

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

531. 2d帧动画bug:编译运行会掉帧,编辑器不会掉帧,2.2.0版本以上都有这个问题 [ 54%]

... null) 改成 if (FrameAnimation._sortIndexFun == null)   代码如下: class FrameAnimation extends AnimationBase { constructor() { super(); if (FrameAnimation._sortIndexFun == null) { FrameAnimation._sortIndexFun = MathUtil.sortByKey("index", false, true); } }      2019-11-19 0 2 分享 微...

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

532. laya.ui.UIComponent [ 54%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames UIComponentProperties | Methods | Events Packagelaya.uiClasspublic class UIComponentInheritanceUIComponent Sprite Node EventDispatcher ObjectSubclasses Box, Button, Clip, ColorPicker, ComboBox, Image, Label, ProgressBar...

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

533. 微信飞机大战报错 [ 54%]

... this, this.onPauseBtnClick);         this.reset();     }     Laya.class(GameInfo, "GameInfo", _super);     var _proto = GameInfo.prototype;     _proto.reset = function(){         this.infoLabel.text = "";         this.hp(5);         this.level(0);         this.score(0); ...

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

534. Laya List给子元素添加事件后,滚动事件被劫持了 [ 54%]

...stage.addChild(storeTxList);     悬赏找大神看问题 export default class StoreItem extends Laya.Box { constructor() { super(); this.size(195, 210); }  } 附件 : --> ListDemo.zip 2019-07-11 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

535. laya.ui.VScrollBar [ 54%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VScrollBarProperties | Methods | Events Packagelaya.uiClasspublic class VScrollBarInheritanceVScrollBar ScrollBar UIComponent Sprite Node EventDispatcher Object 使用 VScrollBar (垂直 ScrollBar )控件,可以...

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

536. laya.ui.HScrollBar [ 53%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames HScrollBarProperties | Methods | Events Packagelaya.uiClasspublic class HScrollBarInheritanceHScrollBar ScrollBar UIComponent Sprite Node EventDispatcher Object 使用 HScrollBar (水平 ScrollBar )控件,可以...

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

537. 怎么对graphics画出来的图片进行鼠标点击拖动??? [ 53%]

....Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Interaction_Drag { private ApePath: string = "../laya/monkey2.png"; private ape: Sprite; private dragRegion: Rectangle; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.cl...

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

538. StaticModel_MeshSample例子运行不起来 [ 53%]

StaticModel_MeshSample例子运行不起来 class StaticModel_MeshSample {     constructor() {         Laya3D.init(0, 0,true);         Laya.stage.scaleMode = Laya.Stage.SCALE_FULL;         Laya.stage.screenMode = Laya.Stage.SCREEN_NONE;         Laya.Stat.show();      ...

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

539. [LayaAir2]在使用videoDom创建视频元素后iPad跟iPhone中位置不一样 [ 53%]

...deo播放视频 * @ author:xs * @ data: 2024-03-05 16:20 */ export default class VideoDom { htmlvideo:Laya.HtmlVideo; constructor() { Laya.stage.on(Laya.Event.CLICK,this,this.onClick); } onClick(){ this.initVideo(); } initVideo() { this.htmlvideo = new Laya.HtmlVideo(); this.htmlvideo.setSource("htt...

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

540. localRotationEulerY旋转位置错误 [ 53%]

...建议用脚本方式实现,比如子弹脚本。  */ export default class GameUI extends ui.test.TestSceneUI {     private mat1: Laya.BlinnPhongMaterial;     private newScene: Laya.Scene3D;     private arr: any;     constructor() {         super();      ...

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