大约有 103 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0042 秒)
...标识名称,通常用于层级管理器中区分其它组件,他的父容器也可以通过这个名称找到这个组件。 ### 1.3 设置资源皮肤 `eventscript`:拖动资源到输入框可替换皮肤,点积按钮可快速定位皮肤资源。 ## 2、`常用`属性介绍 在常...
来源: Laya2.0_文档 发布时间: 20210715
...标识名称,通常用于层级管理器中区分其它组件,他的父容器也可以通过这个名称找到这个组件。 ### 1.3 设置资源皮肤 `eventscript`:拖动资源到输入框可替换皮肤,点积按钮可快速定位皮肤资源。 ## 2、`常用`属性介绍 在常...
来源: Laya2.0_文档 发布时间: 20210714
... onMouseDown(e){ //console.log("点击到了我box",owner.name); //从父容器销毁我自己 this.owner.removeSelf(); } } ``` > **主类**: ```typescript //给四个猴子添加脚本 this.staticLayaMonkey.addComponent(MouseScript); this.layaMonkey_clone1.addComponent(MouseScript); this.layaMonkey...
来源: Laya2.0_文档 发布时间: 20210715
...鼠标是否处于按下状态”? 如何实现微信登录? 有什么容器能够实现当子元素达到显示上限后自动滚屏,使得新添加的元素始终保持在最底部显示? Tween如何实现无限循环改变alpha? 2.1.1.1引擎微信小游戏掉帧严重 Laya2.6.0beta 物...
来源: Laya_社区 发布时间: 20190714
... onMouseDown(e){ //console.log("点击到了我box",owner.name); //从父容器销毁我自己 this.owner.removeSelf(); } } ``` > **主类**: ```typescript //给四个猴子添加脚本 this.staticLayaMonkey.addComponent(MouseScript); this.layaMonkey_clone1.addComponent(MouseScript); this.layaMonkey...
来源: Laya2.0_文档 发布时间: 20210715
... 与内容相关的链接 提交 1 个回复 非文 赞同来自: 它的父容器是不是没有设置宽高? 2017-01-11 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 feini 相关问题 请问LayaAir中如何使图片以圆形的方...
来源: Laya_社区 发布时间: 20170111
...ly exported Menu Globals "laya/ui/Box" Box Class Box Box 类是一个控件容器类。 Hierarchy UIComponent Box List LayoutBox Panel UIGroup ScaleBox Tree ViewStack Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag dr...
来源: Laya3.0_api 发布时间: 20231115
...._doll_area.w = doll_area.w; this._doll_area.h = doll_area.h; } // 设置容器的宽高 this.width = Math.max( this._blood_area.w, this._demon_area.w, this._doll_area.w ); this.height = this._blood_area.h + this._demon_area.h + this._doll_area.h; this.graphics.drawRect( 0, 0, this.width, this...
来源: Laya_社区 发布时间: 20180515
...MouseDown(e:Event):void{ //trace("点击到了我box",owner.name); //从父容器销毁我自己 meshsp.removeSelf(); } } ``` > **主类**: ```typescript //给四个猴子添加脚本 staticLayaMonkey.addComponent(MouseScript); layaMonkey_clone1.addComponent(MouseScript); layaMonkey_clone2.addCompon...
来源: Laya2.0_文档 发布时间: 20210715
...不知道这两个怎么用?到底和box有什么区别?不是普通的容器吗?增加了什么功能呢? TrailSprite3D的ALIGNMENT_TRANSFORM_Z模式和ALIGNMENT_VIEW模式有什么区别? Laya的Scene和View什么区别? LayaAirIDE1.7.17 版本,LayaNative下面 Stat统计的sprite数...
来源: Laya_社区 发布时间: 20180808