大约有 3,603 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0088 秒)
Laya_社区(2675) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) laya_api(98) Laya3.0_文档(97) Laya_示例(83) Laya2.0_示例(45)
...MOUSE_MOVE, this, onMouseMove); 也可以写个变量 ,down的时候为true,否则为false 如"cuixueying" 回答的一样! 2017-04-21 3 0 分享 微博 QZONE 微信 cuixueying 赞同来自: zhang92tong 、Zabe 、奥古斯都 你自己写一个boolean值,down的时候为true,否则...
来源: Laya_社区 发布时间: 20170421
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测...
来源: Laya3.0_api 发布时间: 20231115
...。 Returns boolean 如果 Rectangle 对象包含指定的点,则值为 true;否则为 false。 copyFrom copyFrom(source: Rectangle): Rectangle Defined in laya/maths/Rectangle.ts:100 复制 source 对象的属性值到此矩形对象中。 Parameters source: Rectangle Returns Rectangle 返回属...
来源: Laya3.0_api 发布时间: 20231115
...ar); } private function onClear():void { _s.graphics.clear(); _s.destroy(true); _s.removeSelf(); _s=null; console.log(Laya.loader.getRes(_url)); Loader.clearRes(_url,true); console.log(Laya.loader.getRes(_url)); } 2017-02-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20170222
...的颜色 txt.borderColor = "#23cfcf"; //设置粗体、斜体 txt.bold = true; txt.italic = true; Laya.stage.addChild(txt); } } } ```  这里我们就可以看到字体样式、字体大小有明显的变化,文本框的最外围又一圈浅蓝色的边框,文本区的背景变...
来源: Laya2.0_文档 发布时间: 20210714
...p-capable' content='yes' /> <meta name='full-screen' content='true' /> <meta name='x5-fullscreen' content='true' /> <meta name='360-fullscreen' content='true' /> <meta http-equiv='expires' content='0' /> <meta name='laya' screenorienta...
来源: Laya_社区 发布时间: 20170810
...说的做就可以 另外反馈个问题,反复设置一个按钮置灰为true,再false,反复3次应该就会报错 LayaProject4.zip 2025-08-25 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 Fany 相关问题 ...
来源: Laya_社区 发布时间: 20250822
... Node._url Defined in laya/display/Node.ts:55 autoPlay autoPlay: boolean = true Defined in laya/particle/Particle2D.ts:24 是否自动播放 autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽高数据。默认值为 false...
来源: Laya3.0_api 发布时间: 20231115
... */ public function play(index:int = 0, loop:Boolean = true):void { 播放默认会穿一个loop为true哦你在play的时候把loop给一个false的值就好了! 2018-05-03 0 0 分享 微博 QZONE 微信 fool_tiger 赞同来自: 就是在load完成之后,我加了 mc.play(0,f...
来源: Laya_社区 发布时间: 20180503
...y Texture2D(width:int = 0, height:int = 0, format:int, mipmap:Boolean = true, canRead:Boolean = false) 创建一个 Texture2D 实例。 Texture2D _getSource():*[override] 获取纹理资源。 BaseTexture _parse(data:*, propertyParams:Object = null, constructParams:Array = null):Texture2D[sta...
来源: Laya2.0_api 发布时间: 20190513