大约有 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)
...ge { import laya.ani.swf.MovieClip; import laya.display.Stage; import laya.events.Event; import laya.webgl.WebGL; public class MouseCount { public function MouseCount() { Laya.init(720, 1280, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode...
来源: Laya_社区 发布时间: 20170105
...效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Browser = Laya.Browser; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var n = 2000; var d = 1; var current = 0; var objs = 17; var vx = 0; var vy = 0; var vz = 0; var points1 = []; var points2 = []; var...
来源: Laya_示例 发布时间: 20241118
...效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Browser = Laya.Browser; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var n = 2000; var d = 1; var current = 0; var objs = 17; var vx = 0; var vy = 0; var vz = 0; var points1 = []; var points2 = []; var...
来源: Laya2.0_示例 发布时间: 20241118
...= this._objectInfo.templateInfo.height; this.addChild(this._body); this.on(Event.MOUSE_OVER, this, this.__onMouseOverHole); this.on(Event.MOUSE_OUT, this, this.__onMouseOutHole); } this.pos(this._objectInfo.templateInfo.x, this._objectInfo.templateInfo.y); } private __onMouseOverHole(event:Event):vo...
来源: Laya_社区 发布时间: 20180308
...为复现工程,具体代码在GameUiTest.js this.imaAudioLocal.on(Laya.Event.CLICK, this, ()=>{ let resUrl = "res/audio/sound_click.wav"; Laya.SoundManager.playSound(resUrl, 1); }); this.imaAudioNet.on(Laya.Event.CLICK, this, ()=>{ let resUrl = "https://具体地址见工程代码/h5/gun_...
来源: Laya_社区 发布时间: 20200225
... addInputChild callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeC...
来源: Laya3.0_api 发布时间: 20231102
... var Browser = laya.utils.Browser; var Stat = laya.utils.Stat; var Event = laya.events.Event; var Sprite = laya.display.Sprite; Laya.init(800, 1030); Stat.show(0,0); var drawLayer = new Sprite(); Laya.stage.addChild(drawLayer); drawLayer.width = 800; drawLayer.height = 1030; drawLayer.o...
来源: Laya_社区 发布时间: 20160725
...", this, this.onChange,this._data); 监听 在A类 抛事件 this.event("vj_move","abc"); 断点监听处 this._data没数据 是不是写法有问题??? 2017-11-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...
来源: Laya_社区 发布时间: 20171109
...All Classes | Index | Frames No Frames ScriptProperties | Methods | Events Packagelaya.d3.componentClasspublic class ScriptInheritanceScript Component3D EventDispatcher Object Script 类用于创建脚本的父类。 Public Properties Hide Inherited Public Properties Show Inherited Public Pro...
来源: laya_api 发布时间: 20170929
...ic btnLogin:Laya.Button; constructor(){ super(); this.btnLogin.on(Laya.Event.CLICK,this,()=>{ console.log('btnLogin click') }) } createChildren(){ super.createChildren(); this.loadScene('LoginScene'); } } import LoginScene from "./script/LoginScene" /* * 游戏初始化配置; */ e...
来源: Laya_社区 发布时间: 20190402