大约有 395 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0038 秒)
Laya_社区(159) Laya3.0_api(85) Laya3.0_文档(63) Laya2.0_api(43) laya_api(23) Laya2.0_文档(21) Laya2.0_示例(1)
Laya.Image组件设置线上链接 sizeGrid属性异常 this.owner.skin = "\/\/enbrands.oss-cn-shenzhen.aliyuncs.com\/travelAround\/map_item.png"; this.owner.sizeGrid = "80,20,2,20,0"使用线上图片链接,图片会被裁切,使用本地同样的图片正常显示 附件 : --> 2020-01-19 添...
来源: Laya_社区 发布时间: 20200119
...ame = skeleton.getAniNameByIndex(num - 1); skeleton.play(name) })); this.owner.addChild(skeleton); 2019-04-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 laozhou 赞同来自: //创建一个Skeleton对象 var...
来源: Laya_社区 发布时间: 20190416
...ticBatchVolume Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath Accessors awaked boundsMax boundsMin destroyed enabled hideFlags id importance probePosition type Methods _VolumeChange _addRenderNode _initialize _motionInVolume _reCaculateBoundBox _removeRender...
来源: Laya3.0_api 发布时间: 20231115
...ic Methods Show Inherited Public Methods MethodDefined By MeshRenderer(owner:RenderableSprite3D) 创建一个新的 MeshRender 实例。 MeshRenderer _destroy():void[override] MeshRenderer _needRender(boundFrustum:BoundFrustum):Boolean[override] MeshRenderer _renderUpdate(context:Render...
来源: Laya2.0_api 发布时间: 20190513
...件实例**/ private monkeyBox: Laya.Sprite; constructor() { } /** *设置owner函数,可以直接获取到添加附加脚本的组件实例 **/ public set owner(value: any) { this.monkeyBox = value; //自定义的脚本会有时序问题,所以在此添加一个延时 this.monkeyBox.frameOnce(2...
来源: Laya_社区 发布时间: 20180622
... Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors awaked canCollideWith colliderShape collisionGroup destroyed enabled friction hideFlags id isTrigger restitution simulation Methods _initialize _setOwner destroy hasHideFlag onAdded onAw...
来源: Laya3.0_api 发布时间: 20231102
...RaycastHit(); } /*覆写3D组件方法,指3D对象加载组件时执行 *owner:此组件所属的3D对象 */ public _load(owner:Laya.Sprite3D):void{ //获取控制器UI this.rocker = Example_roleControl.rocker; this.attack = Example_roleControl.attack; } /*覆写加载组件的3D对象实例化...
来源: Laya_社区 发布时间: 20171113
...后设置enabled或者在图片脚本组件的onAdded声明周期内根据owner的active状态来设置enabled状态。 2023-10-07 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 shiyang 相关问题 laya针对...
来源: Laya_社区 发布时间: 20231007
... Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors awaked canCollideWith colliderShape collisionGroup destroyed enabled friction hideFlags id isTrigger restitution simulation Methods _initialize _setOwner destroy hasHideFlag onAdded onAw...
来源: Laya3.0_api 发布时间: 20231102
...uctors constructor Properties _extra _singleton collideConnected otherBody owner runInEditor scriptPath selfBody Accessors angularOffset awaked correctionFactor destroyed enabled hideFlags id joint linearOffset maxForce maxTorque Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDe...
来源: Laya3.0_api 发布时间: 20231115