大约有 2,741 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0050 秒)
Laya_社区(1926) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
..., Handler.create(this, onSkinLoaded)); } private function onSkinLoaded(e:*=null):void { var tabA:Tab = createTab(skins[0]); tabA.pos(40, 120); tabA.labelColors = "#000000,#d3d3d3,#333333"; var tabB:Tab = createTab(skins[1]); tabB.pos(40, 220); tabB.labelColors = "#FFFFFF,#8FB299,#FFFFFF"; } private ...
来源: Laya2.0_示例 发布时间: 20251223
... Parameters Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/eve...
来源: Laya3.0_api 发布时间: 20231115
...ventListener(Event.ADDED_TO_STAGE,init); } } private function init(e:Event=null):void { //第一步:加载数据:创建URLLoader对象 var urlLoader:URLLoader=new URLLoader(); //第二部:设置接收数据的方式(TEXT:文本,BINARY:原始二进制数据,VARIABLES:编 //码变量...
来源: Laya_社区 发布时间: 20151217
...BufferUrl.slice(0,this._skBufferUrl.lastIndexOf("/"))+"/"); this.parseData(null,tSkBuffer); } __proto.parseData=function(texture,skeletonData,playbackRate){ (playbackRate===void 0)&& (playbackRate=30); if(!this._path&&this.url){ //MODIFIED:使用formatPath进行路径过滤 this._pat...
来源: Laya_社区 发布时间: 20190419
...Parameters shape: CannonColliderShape Default value localOffset: Vector3 = null Returns void bindRigidBody bindRigidBody(rigidbody: CannonPhysicsComponent): void Defined in laya/d3/physicsCannon/shape/CannonCompoundColliderShape.ts:92 Parameters rigidbody: CannonPhysicsComponent Returns void clone c...
来源: Laya3.0_api 发布时间: 20231102
...rite3D.load("res/prefabs/Conventional/SampleScene.lh", Laya.Handler.create(null, function(sp) { var layaMonkey2 = scene.addChild(sp); layaMonkey2.transform.localScale = new Laya.Vector3(4, 4, 4); layaMonkey2....
来源: Laya_社区 发布时间: 20211009
...ndler.create(this, onLoadComplete)); } private function onLoadComplete(e:*=null):void { placeHSlider(); placeVSlider(); } private function placeHSlider():void { var hs:HSlider = new HSlider(); hs.skin = "../../../../res/ui/hslider.png"; hs.width = 300; hs.pos(50, 170); hs.min = 0; hs.max = 100; hs.v...
来源: Laya_示例 发布时间: 20251223
...r.create(this, onUIAssetsLoaded)); } private function onUIAssetsLoaded(e:*=null):void { for(var i:int = 0, len : int = skins.length; i < len; ++i) { var btn:Button = createButton(skins[i]); var x:Number = i % COLUMNS * HORIZONTAL_SPACING + xOffset; var y:Number = (i / COLUMNS | 0) * VERTICAL_SPACING...
来源: Laya2.0_示例 发布时间: 20251223
...6 赞同来自: 之前遇到过这问题,然后直接把Scene3D的对象=null 2020-07-23 0 1 分享 微博 QZONE 微信 熊猫大侠 赞同来自: 你的 第1,2种写法本来就是错的 2020-07-23 0 3 分享 微博 QZONE 微信 柒汐夜 赞同来自: 根据源码来看,numChildren返回的是...
来源: Laya_社区 发布时间: 20200723
... Parameters Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/eve...
来源: Laya3.0_api 发布时间: 20231115