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

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

91. laya.ui.Button_API3.0 [ 65%]

... Button_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成...

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

92. laya.map.GridSprite_API3.0 [ 65%]

...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX ske...

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

93. 引擎示例中的新手引导自己写了一次,不知道为什么无法实现点击。 [ 65%]

...itArea = Laya.HitArea; var step = 0; Laya.init(1285, 727, Laya.WebGL); var stage = Laya.stage; var loader = Laya.loader; stage.bgColor = "#00ffff"; stage.alignH = "center"; stage.alignW = "middle"; stage.scaleMode = "showall"; loader.load("../../res/guide/crazy_snowball.png", Handler.create(this, in...

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

94. 动效问题,没有 ui.TestPUI,官方文档是错的,几年了至今无解答 [ 65%]

...sUtils.regClass('ui.TestPUI', ui.TestPUI) var efc = new ui.TestPUI(); Laya.stage.addChild(efc); } 按照官方文档,运行后报错 Main.js:61 Uncaught ReferenceError: ui is not defined 之前有人提过这个问题,但是一直都没有解答,也有人说要先注册class,但是也是没...

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

95. ide2.6.0beta编译报错:This syntax requires an imported helper but module 'tslib' cannot be found [ 65%]

...ot be found   定位到代码中是: let { width, height } = Laya.stage;  mac上却没有问题,win10上却出问题了,求解?难道只支持ts2.x?不支持解析赋值语法? 附件 : --> 2020-04-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

96. laya.map.MapLayer_API3.0 [ 65%]

...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX ske...

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

97. laya.ui.DialogManager_API3.0 [ 65%]

...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX ske...

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

98. 关于webGL切换后台唤起崩溃问题,请求官方协助 [ 65%]

...相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自: 1.Stage中有判断舞台是否处于可见状态的接口isVisibility 2.同样也在Stage中有接口renderingEnabled 2017-09-19 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录...

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

99. 技术文档中的,textInput多行输入示例问题---TS [ 65%]

...。 以下代码 TS 中: module laya{ import Input = Laya.Input; import Stage = Laya.Stage; import Browser = Laya.Browser; import WebGL = Laya.WebGL; 导致后续创建Input实例 ,不会有代码提示。JS中 function Text_InputSingleline(){var textInput = new Laya.TextInput("单行输入");//...

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

100. laya.ani.swf.MovieClip_API3.0 [ 65%]

...s count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea index is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY playing rotation scaleX scaleY scene scroll...

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