大约有 3,244 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0085 秒)
Laya_社区(2446) Laya3.0_api(242) Laya2.0_文档(138) Laya2.0_api(136) laya_api(135) Laya3.0_文档(77) Laya_示例(52) Laya2.0_示例(18)
...较大时建议使用normal cacheAllAfterInit cacheAllAfterInit: boolean = false Defined in laya/map/TiledMap.ts:144 是否在加载完成之后cache所有大格子 enableMergeLayer enableMergeLayer: boolean = false Defined in laya/map/TiledMap.ts:126 是否合并图层,开启合并图层时,图...
来源: Laya3.0_api 发布时间: 20231115
...上,这个步骤即可将2者绑定(isScale=true允许缩放,isScale=false不允许缩放) E、F12发布(记得给Button组件声明一个var,一会儿我们可以观察下2种脚本之间的继承关系),会发现以下报错,不用担心,这是因为项目中Btn的逻辑脚本...
来源: Laya_社区 发布时间: 20161014
...5this.avatarList.selectHandler = Handler.create(this, this.onSelect, null, false); onSelect(index: number) { console.log("一直触发"); } 2017-05-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueyin...
来源: Laya_社区 发布时间: 20170515
...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...
来源: Laya3.0_api 发布时间: 20231115
...tor3(0, 5, 0)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.clearColor = null; //添加方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.8, 0.8, 0.8); directionLight.direction = new Laya.Vector3(-1, -1, 2...
来源: Laya_社区 发布时间: 20180717
...ra Defined in laya/display/Node.ts:58 _ownGraphics _ownGraphics: boolean = false Inherited from AnimationBase._ownGraphics Defined in laya/display/Sprite.ts:245 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:631 _skinBaseUrl _skinBaseUrl: string Inherited from Animati...
来源: Laya3.0_api 发布时间: 20231102
...spatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 EventDispatcher on...
来源: laya_api 发布时间: 20170929
...nimation3D&name=AnimatorDemo 如果将124行的代码循环设置为false state6.clip.islooping = false; 那么所有的动画都将只播放一次,反之,如果为true,则所有动画都会循环播放。 那么问题来了,只需要通过设置clip.islooping就可以设置anim...
来源: Laya_社区 发布时间: 20190918
...visible属性 想问一下在ide ui设计模式下把图片visible设置为false 和代码中this.图片名字.visible有什么区别吗,我遇到的问题是ui设计模式下没有给visible设置值,我在一个继承ui的类初始化先把红框和点的visible设置为false, 运行时确实...
来源: Laya_社区 发布时间: 20161209
...e:any="LoginScene.scene"; static sceneRoot:string=""; static debug:boolean=false; static stat:boolean=false; static physicsDebug:boolean=false; static exportSceneToJson:boolean=true; constructor(){} static init(){ var reg: Function = Laya.ClassUtils.regClass; reg("script/LoginScene.ts",LoginScene); ...
来源: Laya_社区 发布时间: 20190402