大约有 2,654 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0070 秒)
Laya_社区(2024) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(82) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(47)
...内容相关的链接 提交 8 个回复 1703743940用户 赞同来自: S_eVent 这个问题我这边也出现了,在mate x5上120HZ高刷屏下,但是华为的老机型上都运行正常。两个解决方案,第一种是让用户把屏幕调到60HZ刷新,第二种是判断机型,然后在...
来源: Laya_社区 发布时间: 20231207
...示ExpandPage界面)package game { import laya.display.Sprite; import laya.events.Event; public class Btn { private var _owner:Sprite; private var _isScal:Boolean; public function Btn() { trace("btn的附加类已经开始执行"); } //设置owner函数,可以直接获取到Button组件的实例 p...
来源: Laya_社区 发布时间: 20161014
...rowser = Laya.Browser; var WebGL = Laya.WebGL; var Stage = Laya.Stage; var Event = Laya.Event; var Stat = Laya.Stat; var SpineTemplet = Laya.SpineTemplet; class SpineBinary { constructor() { this.aniPath = "res/powerup-pro.skel"; this.index = -1; // Laya.ini...
来源: Laya_社区 发布时间: 20211013
...是引擎的bug。 Chrome控制台有警告,描述:Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 但是好像之前也有,所以...
来源: Laya_社区 发布时间: 20190211
...意坐标系。 //设置陀螺仪的处理 Laya.Gyroscope.instance.on(Laya.Event.CHANGE, this, this.onOrientationChange); private onOrientationChange(absolute:Boolean, info: Laya.RotationInfo):void { if (info.alpha === null) { ...
来源: Laya_社区 发布时间: 20170925
...获取舞台的宽高: stage.scaleMode=StageScaleMode.NO_SCALE; stage.addEventListener(Event.RESIZE,stageResize); private function stageResize(event:Event):void { trace(stage.stageWidth) trace(stage.stageHeight) } 转换成h5后获取浏览器的宽高://[IF-JS]var fullScreenWidth = Laya.window....
来源: Laya_社区 发布时间: 20151204
...| All Classes | Index | Frames No Frames ClipProperties | Methods | Events Packagelaya.uiClasspublic class ClipInheritanceClip Component Sprite Node EventDispatcher ObjectSubclasses FontClip Clip 类是位图切片动画。 Clip 可将一张图片,按横向分割数量 clipX 、竖向分...
来源: laya_api 发布时间: 20170929
... addInputChild callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeC...
来源: Laya3.0_api 发布时间: 20231102
...只限基于ActionScript的项目,基于ts的嗝屁 const a = new Laya.Event() Laya.__classmap['laya.events.Event'] == a.constructor //true 2017-08-10 0 0 分享 微博 QZONE 微信 宇智波 旋 赞同来自: /**返回指定对象的完全限定名 */ static getQualifiedClassName(value):stri...
来源: Laya_社区 发布时间: 20170317
...resources\app\node_modules\layacmd\layacmd-publish.js:141:21) at emitNone (events.js:86:13) at LayaProjectCompiler.emit (events.js:185:7) at LayaProjectCompiler.compile (E:\Laya\LayaAirIDE_beta\resources\app\node_modules\layacmd\compile_project.js:38:9) at ChildProcess.compileProject (E:\Laya\LayaAi...
来源: Laya_社区 发布时间: 20180509