大约有 1,363 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0064 秒)
Laya_社区(1161) Laya2.0_文档(69) Laya3.0_文档(63) Laya2.0_示例(27) Laya_示例(24) Laya3.0_api(17) laya_api(1) Laya2.0_api(1)
... _proto = RunGame.prototype; //初始化 _proto.init = function(){ console.log('RunGame Init'); //背景 this.bg = new Background(); this.addChild(this.bg); //地板 this.mapFloor = new MapFloor(); this.addChild(this.mapFloor); //飞行能量条 this.flyEnergy = new Hp(Hp.HP_TYPE_ENERGY); this.flyEn...
来源: Laya_社区 发布时间: 20160803
...ape 对象添加点击事件侦听。 } function onClickSprite() { console.log("点击 sprite 对象。"); sprite.rotation += 5;//旋转 sprite 对象。 } function onClickShape() { console.log("点击 shape 对象。"); shape.rotation += 5;//旋转 shape 对象。 } example import Sprite = laya.dis...
来源: Laya3.0_api 发布时间: 20231115
...tion Client() { } Client.prototype.start = function() { // body... console.log("调用方法"); }; return Client; })(); console.log("我被加载进来了"); ``` 下面我们简单的讲解下这两段代码。 ` var script:Object = Browser.document.createElement("script");`创建一个script标签...
来源: Laya2.0_文档 发布时间: 20210715
....os.Debug: ro.debug_level = 0x4f4c 03-19 15:01:06.046 8129-15611/? E/SQLiteLog: (284) automatic index on crash_info_summary(package_name_touched) 03-19 15:01:06.176 3111-3111/? E/Tethering: No numeric data 03-19 15:01:06.186 6882-6882/? E/PlaceHolderContentViewRenderViewAdapter: APPLOGS: configHasCh...
来源: Laya_社区 发布时间: 20180319
...ion Client() { } Client.prototype.start = function () { // body... console.log("调用方法"); }; return Client; })(); console.log("我被加载进来了"); 下面我们简单的讲解下这两段代码。 var script:any = Laya.Browser.document.createElement("script");创建一个script标签。 sc...
来源: Laya3.0_文档 发布时间: 20251010
...rotected AroundByMobileInput(): void { if (this.TouchCount == 1) { console.log(this.targetAngles); this.targetAngles.y -= this.GetAxisX * this.mouseSettings.pointerSensitivity; this.targetAngles.x += this.GetAxisY * this.mouseSettings.pointerSensitivity; //Range. this.targetAngles.y = this.Clamp(thi...
来源: Laya_社区 发布时间: 20170714
...-6514/com.vivo.vs I/chromium: [INFO:library_loader_hooks.cc(106)] Chromium logging enabled: level = 0, default verbosity = 0 10-13 17:31:15.891 6514-6514/com.vivo.vs I/BrowserStartupController: Initializing chromium process, renderers=0 10-13 17:31:15.891 6514-6514/com.vivo.vs W/art: Attempt to remo...
来源: Laya_社区 发布时间: 20181013
...op(300, null, function () { console.log('8: ' + self.particleSystem.aliveParticleCount); }); } } } } 执行结果一直为0, 请问这是什么问题? 是否有更详细一些的例...
来源: Laya_社区 发布时间: 20170605
...Event): void { let pos = new Laya.Vector2(evt.stageX, evt.stageY); console.log("click", pos); this._temp.graphics.clear(); this._allAgent.forEach((agent) => { agent.destination = pos; let paths = agent.getCurrentPath(); if (paths.length >= 2) { let points: any = [] paths.forEach((point) => ...
来源: Laya3.0_文档 发布时间: 20251010
...rotected AroundByMobileInput(): void { if (this.TouchCount == 1) { console.log(this.targetAngles); this.targetAngles.y -= this.GetAxisX * this.mouseSettings.pointerSensitivity; this.targetAngles.x += this.GetAxisY * this.mouseSettings.pointerSensitivity; //Range. this.targetAngles.y = this.Clamp(thi...
来源: Laya_社区 发布时间: 20190224