• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 265 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0034 秒)

41. Laya2.4版本,场景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? [ 85%]

...eSceneuiUI extends Laya.Scene { public static uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart","label":"label"},"compId":3}],"loadList":["comp/button.png"],"loadList3D":[]}; constr...

来源: Laya_社区 发布时间: 20200228

42. 我看到这段话后,我 [ 85%]

...n(value){         this._dataSource=value;         for (var prop in this._dataSource){             if (this.hasOwnProperty(prop)&& !((typeof (this[prop])=='function'))){                 this[prop]=this._dataSource[prop];             }  ...

来源: Laya_社区 发布时间: 20190803

43. Laya2.4版本,场景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? [ 85%]

...a.Scene {         public static  uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart","label":"label"},"compId":3}],"loadList":["comp/button.png"],"loadList3D":[]};    ...

来源: Laya_社区 发布时间: 20200228

44. 带特效的场景打开时 特效的材质报空 [ 85%]

...   case "ShuriKenParticle3D":                 var parMeshPath = props.meshPath;                 (parMeshPath) && (props.meshPath = Laya3D._addHierarchyInnerUrls(firstLevelUrls, subUrls, urlVersion, hierarchyBasePath, parMeshPath, Laya3D.MESH));                 props...

来源: Laya_社区 发布时间: 20200106

45. Tween 缓动过程有触发回调函数么 [ 85%]

...的链接 提交 9 个回复 Laya_Aaron 赞同来自: 第二个参数:  props 变化的属性列表,比如{x:100,y:20,ease:Ease.backOut,complete:Handler.create(this,onComplete),update:new Handler(this,onComplete)}。   update这个 数值改变就会触发回调,也就是过程中的回调 ...

来源: Laya_社区 发布时间: 20180109

46. Laya.Tween.to 有没有监听值的变化的方法? [ 85%]

...ZONE 微信 Laya_Aaron 赞同来自: /**          * 缓动对象的props属性到目标值。          * @param   target 目标对象(即将更改属性值的对象)。          * @param   props 变化的属性列表,比如{x:100,y:20,ease:Ease.backOut,complete:Handle...

来源: Laya_社区 发布时间: 20180621

47. layaAir自定义组件设置默认参数无效 [ 84%]

...btn" resName="sbtn" group="公用,常用,宽高及位置" drag="3"> <prop name="scaleTime" tips="缩放使用时间" type="number" default="100" group="常用"/> </ScaleButton> <MenuBtn className="laya.customUI.MenuBtn" inherit="Component" skinLabel="skin" resName="mbtn" icon="mbtn...

来源: Laya_社区 发布时间: 20161026

48. laya.utils.Tween.to的第一个参数可以是个label? [ 83%]

...1114367261 赞同来自:         /**          * 缓动对象的props属性到目标值。          * @param    target 目标对象(即将更改属性值的对象)。          * @param    props 变化的属性列表,比如{x:100,y:20,ease:Ease.backOut,complete:Handler....

来源: Laya_社区 发布时间: 20180425

49. laya.utils.ClassUtils [ 83%]

...据指定的 json 数据创建节点对象。 比如: { "type":"Sprite", "props":{ "x":100, "y":50, "name":"item1", "scale":[2,2] }, "customProps":{ "x":100, "y":50, "name":"item1", "scale":[2,2] }, "child":[ { "type":"Text", "props":{ "text":"this is a test", "var":"label", "rumtime":"" } } ] } Cla...

来源: Laya2.0_api 发布时间: 20190513

50. CPU优化方式(ActionScript-2D进阶篇(AS3)-性能优化) [ 82%]

...来保存它: ```javascript private function foo():void {     var prop = target.prop;     // 使用prop     process1(prop);     process2(prop);     process3(prop); } ``` ### 二、计时器 ​ LayaAir提供两种计时器循环来执行代码块。 1. `Laya.timer.frameLoo...

来源: Laya2.0_文档 发布时间: 20210715