大约有 2,159 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0076 秒)
Laya3.0_api(672) Laya_社区(472) Laya2.0_api(357) laya_api(289) Laya_示例(150) Laya2.0_示例(112) Laya2.0_文档(98) Laya3.0_文档(9)
...te(); sp.loadImage("res/apes/monkey2.png",0,0,0,0,Laya.Handler.create(this,function() { console.log(sp.width,sp.height); })); Laya.stage.addChild(sp); loadImage在加载完成的回调函数触发之后才可以正确获取宽高。 直接调用size设置: Laya.loader.load("res/apes/monkey2.png",L...
来源: Laya3.0_文档 发布时间: 20251010
...例就可以拥有不同的播放速度了!/** * 角色创建 */ public function init(interval,type:String,hp:Number,speed:Number,hitRadius:Number,camp:Number,heroType:Number = 0):void { //初始化属性 this.type = type; this.hp = hp; this.speed = speed; this.hitRadius = hitRadius; this.camp = c...
来源: Laya_社区 发布时间: 20170420
...Render onPreRender onReset onStart onUpdate Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Accessor Inherited property Inherited method Inherited accessor Enumeration Interface
来源: Laya3.0_api 发布时间: 20231102
...tring, x?: number, y?: number, width?: number, height?: number, complete?: Function | null): void Defined in laya/display/Graphics.ts:443 加载并显示一个图片。 Parameters url: string 图片地址。 Default value x: number = 0 (可选)显示图片的x位置。 Default value y: number = ...
来源: Laya3.0_api 发布时间: 20231115
...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Static property Static method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...Normal uint8ArrayToArrayBuffer TEMPVector30 Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method 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
...Render onPreRender onReset onStart onUpdate Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Inherited property Inherited method Inherited accessor Enumeration Interface
来源: Laya3.0_api 发布时间: 20231102
...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Inherited property Inherited method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...Render onPreRender onReset onStart onUpdate Legend Object literal Variable Function Type alias Class Class with type parameter Property Accessor Inherited constructor Inherited property Inherited method Inherited accessor Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115