大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0067 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...rade:number = 0; public nSpeed:number = 5; public sprite:Laya.Sprite3D = null; public animator:Laya.Animator = null; public Init(){ this.sprite = this.owner as Laya.Sprite3D; this.animator = this.sprite.getComponent(Laya.Animator) as Laya.Animator; console.log("11"); } public RoleMove(dir:La...
来源: Laya_社区 发布时间: 20191026
...ndler.create(this, onLoadComplete)); } private function onLoadComplete(e:*=null):void { var cb:ComboBox = createComboBox(skin); cb.autoSize = true; cb.pos((Laya.stage.width - cb.width) / 2, 100); cb.autoSize = false; } private function createComboBox(skin:String):ComboBox { var comboBox:ComboBox = n...
来源: Laya2.0_示例 发布时间: 20251219
...建BVH系统实例 Parameters Default value bvhConfig: BVHSpatialConfig = null Default value bvhManager: BVHSpatialManager = null Returns BVHRenderSpatial Accessors bvhSpatialBox get bvhSpatialBox(): BVHSpatialBox<IBoundsCell> Inherited from BVHSpatial.bvhSpatialBox Defined in laya/d3/core/sce...
来源: Laya3.0_api 发布时间: 20231115
...Mc:MeshSprite3D = Sprite3D.instantiate(meshSprite,new Vector3(0.1, 0, 0.2),null,null,false) as MeshSprite3D; twoMc.transform.position = new Vector3(0.1, 0, 0.2); var transformUVTwo:TransformUV = new TransformUV(); ...
来源: Laya_社区 发布时间: 20170311
...dren(); else this.removeChildren(); } this.onDestroy(); this._children = null; //移除所有事件监听 this.offAll(); //移除所有timer //this.timer.clearAll(this); } 附件 : --> 2022-02-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20220224
... this._getHandler(caller, method); if (handler) { this._map[handler.key] = null; handler.key = 0; handler.clear(); } }[/i] 如果确是问题,可以考虑改一下,如果不是,可以忽略我的疑惑。我根据源码里面Timer中提供的相关字段和clearAll函数的写法,自己先...
来源: Laya_社区 发布时间: 20200819
....Handler, loadData?: any) { if (progress) { let fun = progress; progress = null; fun.recover(); } if (complete) { let fun = complete; complete = null; fun.runWith([resKey, loadData]); fun.recover(); } } }参考下!!!! 2019-11-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回...
来源: Laya_社区 发布时间: 20191107
...ortJavaFunction pExport = ExportJavaFunction.GetInstance(); // if(pExport!=null){ // AlertRunnable runnable = new AlertRunnable(); // runnable.m_sAlertMsg = msg; // runnable.m_nAlertCallbackType = 0; // runnable.m_sAlertTitle = LayaConch5.GetInstance().m_strAlertTitle; // pExport.JSAlert(runnable); ...
来源: Laya_社区 发布时间: 20251127
..., 0)); layaMonkey3 = scene.addChild(Laya.Sprite3D.instantiate(layaMonkey1, null, false, new Laya.Vector3(0.6, 0, 0))); Laya.timer.frameLoop(1, this, animate); } var _position = new Laya.Vector3(-0.6, 0, 0); var _rotate = new Laya.Vector3(0, 1, 0); var _scale = new Laya.Vector3(); var scaleDelta = 0;...
来源: Laya_示例 发布时间: 20251219
...一个新的 ScrollBar 实例。 Parameters Default value skin: string = null 皮肤资源地址。 Returns HScrollBar Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphi...
来源: Laya3.0_api 发布时间: 20231115