大约有 6,598 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0342 秒)
Laya_社区(5247) Laya3.0_api(482) Laya2.0_文档(363) Laya_示例(154) Laya2.0_示例(116) Laya3.0_文档(105) Laya2.0_api(67) laya_api(64)
...te swimpoolani:Laya.Animation; constructor() { super(); this.swimpoolani=new Laya.Animation(); //this.init(); this.swimpoolani.loadAtlas("./res/atlas/Comp.atlas",Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ Laya.Animation.createFrames([swimpoorpath01,swimpoorpath02],"...
来源: Laya_社区 发布时间: 20190805
...ned in laya/resource/AssetDb.ts:14 uuid 数据 Static inst inst: AssetDb = new AssetDb() Defined in laya/resource/AssetDb.ts:9 默认资源实例 Methods URL_to_UUID_async URL_to_UUID_async(url: string): Promise<string> Defined in laya/resource/AssetDb.ts:49 Url获得uuid值 Parameters url: st...
来源: Laya3.0_api 发布时间: 20231115
...是不会自动旋转.. 这个怎么设置呢? 付代码 : var ball_skin = new Laya.Sprite().loadImage("res/basketball.png"); ball_skin.pivot(ball_skin.width / 2, ball_skin.height / 2); this.ball = Matter.Bodies.circle(0, -100, 34, { layaSprite: ball_skin, // 绑定一个laya的Sprite, 不能...
来源: Laya_社区 发布时间: 20170704
...r = 5; private sprite: Laya.Sprite; constructor() { super(); this.sprite = new Laya.Sprite(); } drawText(x: number, y: number, w: number, h: number) { console.log(2222); var j = 0;//控制行列 var printNumber = 0;//当前输出字数 var fonts = this.fontSize + "px" + " " +this.font ; var xAction ...
来源: Laya_社区 发布时间: 20191103
... 要回复问题请先登录 发起人 RayFor24 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 请问有没有方法能够获取“鼠标是否处于按下状态”? 配置layaAir需要注意的 请问layaide如何创建一个复合...
来源: Laya_社区 发布时间: 20180409
...),null,Loader.ATLAS); } private function onLoadedSource():void { roleAni = new Animation(); playActions(); } 2、你打包图集的时候,.json文件的prefix键是没有值的,这个是因为你直接针对散图所在文件夹进行打包了,你需要在资源文件夹的外层再套一...
来源: Laya_社区 发布时间: 20170821
...ethods clone cloneTo generatePositionAndDirection Constructors constructor new ConeShape(): ConeShape Overrides BaseShape.constructor Defined in laya/d3/core/particleShuriKen/module/shape/ConeShape.ts:24 创建一个 ConeShape 实例。 Returns ConeShape Properties angle angle: number Defined in lay...
来源: Laya3.0_api 发布时间: 20231115
...thods clearWatch getCurrentPosition watchPosition Constructors constructor new Geolocation(): Geolocation Defined in laya/device/geolocation/Geolocation.ts:47 Returns Geolocation Properties Static PERMISSION_DENIED PERMISSION_DENIED: number = 1 Defined in laya/device/geolocation/Geolocation.ts:15 ...
来源: Laya3.0_api 发布时间: 20231115
...叠 要回复问题请先登录 发起人 swrrfd 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 2.0一不小心删了bin目录下的某个场景json文件。。竟然无法自动生成了? 请问laya有没有地图编辑器工具?...
来源: Laya_社区 发布时间: 20171229
...('透传的json信息:', testJosn); //加载IDE指定的场景 var big = new BigRank(); big.init(); } ``` 微信环境下测试,效果如图1: (图1)
来源: Laya2.0_文档 发布时间: 20210715