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

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

161. laya.ui.HBox_API3.0 [ 83%]

...类。 Hierarchy LayoutBox HBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag BOTTOM MIDDLE NONE TOP drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blen...

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

162. [LayaAir3]3.3.x打包安卓和IOS以后,使用遮罩的地方都会报错 [ 83%]

...IOS以后,使用遮罩的地方都会报错 安卓下会造成children和_nativeojb的数量不一致,用了遮罩的类 图1,2是安卓的截图 IOS也会遮罩和9宫格的报错 图3是IOS报错分析 图4是IOS 9宫格报错   附件 : --> 2025-09-15 添加评论 免费帖 --> 分享 微博...

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

163. 物体随着鼠标滑动旋转脚本 [ 83%]

...Laya.Script);  //这是什么意思有什么作用 ObjectRotate.prototype._initialize = function (owner) {     var _this = this;     ObjectRotate.__super.prototype._initialize.call(this,owner);       //在this(调取本函数的的对象)作用域内,侦听mousedown(鼠标按下...

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

164. laya.ui.Tab_API3.0 [ 83%]

... package { import laya.ui.Tab; import laya.utils.Handler; public class Tab_Example { public function Tab_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/tab.png"], Handler.create(this, onLoad...

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

165. laya.ui.ScaleBox_API3.0 [ 83%]

...比缩放 Hierarchy Box ScaleBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX...

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

166. 类似古文显示方式脚本,文字垂直显示,可以控制显示速度出现打字效果等 [ 83%]

...; i < this.text.length; i++) { const element = this.text.charAt(i); var _x = xAction(j); var _y = yAction(printNumber); this.sprite.graphics.fillText(element, _x, _y, fonts, this.color, "left"); if (yAction(printNumber + 1) > h) { j++; printNumber = 0; } else { printNumber++; } } } drawTextByS...

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

167. 3d物理 刚体旋转bug 2.17到2.12都有 [ 83%]

...,就跑到另一个刚体那里 附件 : --> bugDemoUnity.rar bugDemo2.12_.rar 2021-11-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Laya_z 赞同来自: 最终解决方案:替换我下面的物理库,...

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

168. laya.ui.Box_API3.0 [ 83%]

... UIGroup ScaleBox Tree ViewStack Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX...

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

169. laya.media.SoundNode_API3.0 [ 83%]

...点 Hierarchy Sprite SoundNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY autoPlay blendMode cacheAs components cust...

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

170. 如何使用3D场景2D人物进行混合开发(ActionScript-3D基础(AS3)-LayaAir3D之高级应用) [ 83%]

...d&group=Advance&name=Secne3DPlayer2D)) ```typescript //变换位置 this._position.x = Math.sin(this.scaleDelta += 0.01) * 2; this._position.z = Math.cos(this.scaleDelta += 0.01) * 2; //修改球的位置 this.sphere.transform.position = this._position; //计算位置 this._camera.viewport.project...

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