大约有 9 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
请问下laya.ui.Component下面的anchorX和anchorY的作用,好像显示有问题? 请问下laya.ui.Component下面的anchorX和anchorY的作用,我设置之后没有我想要的效果,请问是不是我理解的问题?具体作用是什么? 2017-04-12 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20170412
关于Laya.Component3D脚本生命周期BUG反馈 如果脚本继承了Laya.Component3D,并且重写了_initialize()函数,那么该脚本的_update()、_lateUpdate()函数将不会再执行,必须在_initialize()函数中调用父类的_initialize()函数才行,这应该是bug。 ...
来源: Laya_社区 发布时间: 20170722
box2d动态创建绑定多个关节报错 Node:the component is singleton,can't add the second one. 需求:模拟粘性小球,与任何物体发生碰撞后,在容器内动态创建多个DistanceJoint 与多个不同rigBody做距离关系绑定 代码片段: onTriggerEnter(other: any, se...
来源: Laya_社区 发布时间: 20190609
...Bit(/*laya.Const.ACTIVE_INHIERARCHY*/0x02,true); if (this._components){ for (var i=0,n=this._components.length;i < n;i++){ var comp=this._components[i]; comp._setActive(true); ...
来源: Laya_社区 发布时间: 20190730
...custom\ScaleButton.js; 那么ScaleButton.xml->内容: className="component.ScaleButton"。是对的吗 mboat • 2017-09-25 22:14 还有ScaleButton.js,内容:(function(window,document,Laya){ var __un=Laya.un,__uns=Laya.uns,__static=Laya.static,__class=Laya.class,__getset=Laya.gets...
来源: Laya_社区 发布时间: 20170925
...flash.events.MouseEvent; import game.ui.other.ListViewUI; import morn.core.components.Box; import morn.core.handlers.Handler; public class ListView extends ListViewUI { public function ListView() { super(); var arr:Array=[]; for(var i:int=0;i<95;i++) { arr.push({icon:i,label:"Index"+i}); } boxLis...
来源: Laya_社区 发布时间: 20151224
...animation 如何使用 我导出的场景文件里的动画对象下边的components属性是空的 185*****934 • 2018-07-09 15:11 android的机器无法支持么? 185*****934 • 2018-07-09 15:12 android去年的机器 android 6.0的也无法显示 Laya_Aaron • 2018-07-09 15:15 加载正确...
来源: Laya_社区 发布时间: 20180709
...5656) at RenderSprite3D.__proto._childs (laya.core.js:6194) at Component.__proto.render (laya.core.js:15656) at RenderSprite3D.__proto._childs (laya.core.js:6194) at RoomBattle.__proto.render (laya.core.js:15656) __proto._childs @ laya.core.js:6194 __proto._transform @ laya.w...
来源: Laya_社区 发布时间: 20181120
....GameObject gameObject, .JSONObject obj) LayaExport.DataManager.getAnimatorComponentData (UnityEngine.GameObject gameObject, .JSONObject component, System.Collections.Generic.List`1 linkSprite) LayaExport.DataManager.getComponentsData (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject...
来源: Laya_社区 发布时间: 20170428