大约有 2,612 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0068 秒)
Laya_社区(1996) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(82) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(33)
...lash.display.StageAlign; import flash.display.StageScaleMode; import flash.events.Event; import login.LoginView; [SWF(width=800,height=600,backgroundColor="0xffffff",frameRate=60)] public class Main extends Sprite { public function Main():void { IFlash.setSize(800, 600);//2D项目中设置场景尺...
来源: Laya_社区 发布时间: 20151225
...a.Socket(); this.socket.endian = Laya.Byte.BIG_ENDIAN; this.socket.on(Laya.Event.OPEN, this, this.onConnectSuccess); this.socket.on(Laya.Event.CLOSE, this, this.onDisonnect); this.socket.on(Laya.Event.ERROR, this, this.onConnectFail); this.socket.on(Laya.Event.MESSAGE, this, this.onReceive); this.so...
来源: Laya_社区 发布时间: 20180910
...lor="#ffffff"; Laya.stage.addChild(this.txt); this.txt.on(Laya.Event.MOUSE_DOWN, this, startScrollText); } function startScrollText(){ this.prevX = this.txt.mouseX; this.prevY = this.txt.mouseY; Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.scrollText); Laya.sta...
来源: Laya_社区 发布时间: 20170810
...Classes | Index | Frames No Frames BoxColliderProperties | Methods | Events Packagelaya.d3.component.physicsClasspublic class BoxColliderInheritanceBoxCollider Collider Component3D EventDispatcher Object BoxCollider 类用于创建盒子碰撞器。 Public Properties Hide Inherited Public Pro...
来源: laya_api 发布时间: 20170929
...sses | Index | Frames No Frames SphereColliderProperties | Methods | Events Packagelaya.d3.component.physicsClasspublic class SphereColliderInheritanceSphereCollider Collider Component3D EventDispatcher Object SphereCollider 类用于创建球碰撞器。 Public Properties Hide Inherited Publ...
来源: laya_api 发布时间: 20170929
...效,单点的情况下会获得三个触摸点信息Laya.stage.on(Laya.Event.MOUSE_DOWN, this, (data: Laya.Event) => { let str = ""; if (data.touches) { for (let i = 0; i < data.touches.length; i++) { str += ` {${i} : ${data.touches[i].pos.toString()}}`; } } console.log("drag mouse down", st...
来源: Laya_社区 发布时间: 20230823
...{ import laya.ani.bone.Skeleton; import laya.ani.bone.Templet; import laya.events.Event; import laya.webgl.WebGL; public class DragonDemo { private var mFactory:Templet; private var mArmature:Skeleton; private var index:int;//帧频 private var time:Number; public function DragonDemo() { Laya.init(8...
来源: Laya_社区 发布时间: 20170509
... All Classes | Index | Frames No Frames InputProperties | Methods | Events | Constants Packagelaya.displayClasspublic class InputInheritanceInput Text Sprite Node EventDispatcher Object Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框...
来源: Laya2.0_api 发布时间: 20190513
...;this.txt.color = "#ffffff";Laya.stage.addChild(this.txt);this.txt.on(Laya.Event.MOUSE_DOWN,this,startScrollText);}/*开始滚动文本*/function startScrollText(){this.prevX = this.txt.mouseX;this.prevY = this.txt.mouseY;Laya.stage.on(Laya.Event.MOUSE_MOVE,this,scrollText);Laya.stage.on(Laya.Event....
来源: Laya_社区 发布时间: 20180125
... [0]create@(no filename):6700 [1]__proto.run@(no filename):2271 [2]__proto.event@(no filename):2221 [3]__proto._checkNext@(no filename):5620 [4]__proto.onOneLoadComplete@(no filename):5620 [5]__proto.run@(no filename):2271 [6]__proto.event@(no filename):2221 [7]__proto._endLoad@(no filename):5576 [8...
来源: Laya_社区 发布时间: 20190820