大约有 1,751 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0081 秒)
Laya_社区(1103) Laya2.0_文档(182) Laya3.0_api(114) Laya2.0_api(105) Laya2.0_示例(83) Laya_示例(70) laya_api(64) Laya3.0_文档(30)
... ymsdandan 赞同来自: LoaderManager类有个create(url: any, complete?: Handler, progress?: Handler, clas?: any, params?: Array<any>, priority?: number, cache?: boolean): any;方法,你可以看看 2017-11-29 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要...
来源: Laya_社区 发布时间: 20171129
...ngle; import Texture = Laya.Texture; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Interaction_Drag { private ApePath: string = "../laya/monkey2.png"; private ape: Sprite; private dragRegion: Rectangle; constructor() { // 不支持WebGL时自...
来源: Laya_社区 发布时间: 20171106
...次方图集区别在哪? var 与 name 的详细区别是什么? Laya.Handler.create和new Laya.Handler有啥区别 问一下使用AnimationPlayer播放龙骨动画的时候,播放速率和播放时长区别 看官方2.0的shader例子,模型视图投影矩阵定义的名称是u_MvpMatrix, ...
来源: Laya_社区 发布时间: 20161216
... window is not defined 官网示例摇一摇报错,就解决方案 Laya.Handler.create和new Laya.Handler有啥区别 Adobe Flash Builder 4.7无法编译Laya2.6.1创建的3D示例项目 [分享]Dialog 点击边缘不关闭的 Demo示例 官方新手游戏引导示例中关于hit和unHit的使用...
来源: Laya_社区 发布时间: 20180926
...d { console.log("读数据"); Laya.loader.load("Json/shopLevel.json", Laya.Handler.create(this, this.shopJsonLoaded), null, Laya.Loader.JSON); Laya.loader.load("Json/menu.json", Laya.Handler.create(this, this.menuJsonLoaded), null, Laya.Loader.JSON); } //读取商店等级配置表 shopJsonLoaded( )...
来源: Laya_社区 发布时间: 20220819
...,并且两个list同时滚动一模一样。 View嵌套Dialog组件 Laya.Handler.create和new Laya.Handler有啥区别 想让一个2D的图形被鼠标点击时缩放一下,或左右摇晃一下,最后回到原大小或原位置,应该用什么缓动模式 在线急等,发现你们这个...
来源: Laya_社区 发布时间: 20180520
...通过基础数据生成mipMap。 BaseTexture load(url:String, complete:Handler):void[static] 加载TextureCube。 TextureCube setSixSideImageSources(source:Array, premultiplyAlpha:Boolean = false):void 通过六张图片源填充纹理。 TextureCube setSixSidePixels(width:int, height:int,...
来源: Laya2.0_api 发布时间: 20190513
...Laya.init(600, 400); Laya.loader.load("res/atlas/template/comp.json", Laya.Handler.create(this, onAssetLoaded2), null, Loader.ATLAS); function onAssetLoaded2() { Laya.class(MyBoot, "MyBootClass", MyPage2UI); var UI = new MyBootClass(); Laya.stage.addChild(UI); } function MyBoot() ...
来源: Laya_社区 发布时间: 20160722
list的_dataSource问题。 list.renderHandler = new Handler(this, this.onInitItem); list.array=[{a:1},{a:2}]; private onInitItem(item,index){} 在 onInitItem 中怎么得到他的数据?list.array 里面的那个 {a:1} 我看源码中有 _dataSource ,但是方法不是公开的。要...
来源: Laya_社区 发布时间: 20180126
...las:BattleScene} ]; //预加载 Laya.loader.create ( this.resArray, Laya.Handler.create(this,this.onPreLoadComplete), Laya.Handler.create(this,this.onProgress), ); } onPreLoadComplete() : void { let sceneUrl = this.resArray[0]["url"]; this.scene = Laya.loader.getRes(sceneUrl) as BattleScene...
来源: Laya_社区 发布时间: 20190323