大约有 1,193 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0061 秒)
Laya_社区(664) Laya3.0_api(153) laya_api(104) Laya2.0_api(96) Laya2.0_文档(63) Laya2.0_示例(44) Laya_示例(42) Laya3.0_文档(27)
...03:8888"); // this.socket.connect("10.10.1.103",8888); this.socket.on(Laya.Event.OPEN, this, openHandler); //建立连接 this.socket.on(Laya.Event.MESSAGE, this, receiveHandler); //接收到数据触发函数 this.socket.on(Laya.Event.CLOSE, this, closeHandler); //关闭事件 this.socket.on(Laya.E...
来源: Laya_社区 发布时间: 20180509
...w HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); 2017-10-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...
来源: Laya_社区 发布时间: 20171017
...效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Texture = Laya.Texture; var Browser = Laya.Browser; var Ease = Laya.Ease; var Handler = Laya.Handler; var Tween = Laya.Tween; var WebGL = Laya.WebGL; const HOLD_TRIGGER_TIME = 1000; const apePath = "../...
来源: Laya_示例 发布时间: 20241117
...a.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("https://www.baidu.com","","get","text"); function processHandler(data){ console.log(data); c...
来源: Laya_社区 发布时间: 20180827
.../mArmature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); //mArmature.on(Event.LABEL, this, onEvent); mArmature.on(Event.STOPPED, this, completeHandler); mArmature.on(Event.CLICK, this, onChangeSkin); mArmature.showSkinByName(mSkinList[0]); play(); //changeSkin(); //Laya.timer.loop(1000, this, cha...
来源: Laya_社区 发布时间: 20170818
...er Manages an XRSession to work with layaAir engine author miner Hierarchy EventDispatcher WebXRSessionManager Index Properties baseReferenceSpace currentFrame currentTimestamp defaultHeightCompensation session viewerReferenceSpace EVENT_FRAME_LOOP EVENT_MANAGER_END Accessors currentFrameRate refere...
来源: Laya3.0_api 发布时间: 20231115
...单的色块改变位置 package { import laya.display.Sprite; import laya.events.Event; import laya.events.IEventDispatcher; import laya.utils.Browser; import laya.utils.Tween; public class testVH { protected var _tip:Sprite; public function testVH() { IEventDispatcher; Config.isAlpha = tr...
来源: Laya_社区 发布时间: 20190520
.../apes/monkey2.png',100,100,90,90); Laya.stage.addChild(img1); img1.on(Laya.Event.CLICK,this, function(name){ console.log(name);},['图1']); var img2 = new Laya.Sprite(); img2.loadImage('https://layaair.ldc.layabox.com/demo/h5/res/apes/monkey2.png',200,300,90,90); Laya.stage.addChild(img2); img2.on(L...
来源: Laya_社区 发布时间: 20180621
... Socket 对象。 Socket 以异步方式传输和接收数据。 Hierarchy EventDispatcher Socket Index Constructors constructor Properties disableInput protocols BIG_ENDIAN LITTLE_ENDIAN Accessors connected endian input output Methods cleanSocket close connect connectByUrl event flush hasListener o...
来源: Laya3.0_api 发布时间: 20231115
...nction() { var Skeleton = Laya.Skeleton; var Templet = Laya.Templet; var Event = Laya.Event; var Browser = Laya.Browser; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var Pool = Laya.Pool; var mAniPath; var mStartX = 400; var mStartY = 500; var mFactory; var mActionInd...
来源: Laya_社区 发布时间: 20181120