大约有 2,159 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0056 秒)
Laya3.0_api(672) Laya_社区(472) Laya2.0_api(357) laya_api(289) Laya_示例(150) Laya2.0_示例(112) Laya2.0_文档(98) Laya3.0_文档(9)
...r; private var bodys: Array = []; private var touching: Array = []; public function Physics_CollisionEvent() { Laya.Config.isAntialias = true; Laya.init(1200, 700, WebGL); Stat.show(); Physics.enable(); PhysicsDebugDraw.enable(); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIG...
来源: Laya2.0_示例 发布时间: 20260106
...constructor gradientCount add clone cloneTo Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
Laya.sprite.on 绑定事件传参数的问题 on () method public function on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Parameters type:String ...
来源: Laya_社区 发布时间: 20170308
...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...
来源: Laya3.0_api 发布时间: 20231102
...rState currentState duration normalizedTime Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Accessor Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...
来源: Laya3.0_api 发布时间: 20231102
...同来自: private var mapBit:String; public function Main() { // 不支持WebGL时自动切换至Canvas Laya.init(920, 640, WebGL); Laya.stage.bgColor = "#808080"; Laya.stag...
来源: Laya_社区 发布时间: 20161230
...Toggle update checkBoxTex fontSize strArray Legend Object literal Variable Function Type alias Class Class with type parameter Method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...1 个回复 cuixueying 赞同来自: 参考下以下实现方式: public function LayaAirDemo() { Laya.init(800,800); Laya.loader.load('logo.png',Handler.create(this,onLoaded)); } private function onLoaded():void { var texture:Texture=Loader.getRes('logo.png'); var sp:Sprite=new Sprite(); sp.graph...
来源: Laya_社区 发布时间: 20170505
... 3、宏编译示例代码 3.1 LayaFlash单行宏编译写法private function byteArrayReadIntTest():void { var byteArray:ByteArray = new ByteArray(); byteArray.writeInt(100); byteArray.position = 0; var value:int; /*[IF-FLASH]*/value = byteArray.readUnsignedInt(); //[IF-SCRIPT]value = byteArray...
来源: Laya_社区 发布时间: 20151106