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

大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0067 秒)

1081. 动画混合问题,Avatar动画混合报错. [ 63%]

...rade:number = 0; public nSpeed:number = 5;  public sprite:Laya.Sprite3D = null;  public animator:Laya.Animator = null;  public Init(){ this.sprite = this.owner as Laya.Sprite3D; this.animator = this.sprite.getComponent(Laya.Animator) as Laya.Animator; console.log("11"); }  public RoleMove(dir:La...

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

1082. UI-ComboBox [ 63%]

...ndler.create(this, onLoadComplete)); } private function onLoadComplete(e:*=null):void { var cb:ComboBox = createComboBox(skin); cb.autoSize = true; cb.pos((Laya.stage.width - cb.width) / 2, 100); cb.autoSize = false; } private function createComboBox(skin:String):ComboBox { var comboBox:ComboBox = n...

来源: Laya2.0_示例 发布时间: 20251219

1083. laya.d3.core.scene.bvhscenerendermanager.BVHRenderSpatial_API3.0 [ 63%]

...建BVH系统实例 Parameters Default value bvhConfig: BVHSpatialConfig = null Default value bvhManager: BVHSpatialManager = null Returns BVHRenderSpatial Accessors bvhSpatialBox get bvhSpatialBox(): BVHSpatialBox<IBoundsCell> Inherited from BVHSpatial.bvhSpatialBox Defined in laya/d3/core/sce...

来源: Laya3.0_api 发布时间: 20231115

1084. 请问一下我一个3d模型,贴图是UV类型的里面好多张图,在代码里面怎么调用其它的贴图 [ 63%]

...Mc:MeshSprite3D = Sprite3D.instantiate(meshSprite,new Vector3(0.1, 0, 0.2),null,null,false) as MeshSprite3D;                         twoMc.transform.position = new Vector3(0.1, 0, 0.2);                         var transformUVTwo:TransformUV = new TransformUV();  ...

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

1085. Node.ts 节点销毁之后为什么要注释掉 timer 的清理操作。 [ 63%]

...dren(); else this.removeChildren(); } this.onDestroy();  this._children = null;  //移除所有事件监听 this.offAll();  //移除所有timer //this.timer.clearAll(this); } 附件 : --> 2022-02-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

1086. Laya.Timer.clear 的源码可能有个问题。 [ 63%]

... this._getHandler(caller, method); if (handler) { this._map[handler.key] = null; handler.key = 0; handler.clear(); } }[/i] 如果确是问题,可以考虑改一下,如果不是,可以忽略我的疑惑。我根据源码里面Timer中提供的相关字段和clearAll函数的写法,自己先...

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

1087. laya接入fairyGUI的时候资源加载方式? [ 63%]

....Handler, loadData?: any) { if (progress) { let fun = progress; progress = null; fun.recover(); } if (complete) { let fun = complete; complete = null; fun.runWith([resKey, loadData]); fun.recover(); } } }参考下!!!!   2019-11-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回...

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

1088. [LayaAir3]【3.3.3】安卓与ios原生在声音播完后错误弹窗 [ 63%]

...ortJavaFunction pExport = ExportJavaFunction.GetInstance(); // if(pExport!=null){ // AlertRunnable runnable = new AlertRunnable(); // runnable.m_sAlertMsg = msg; // runnable.m_nAlertCallbackType = 0; // runnable.m_sAlertTitle = LayaConch5.GetInstance().m_strAlertTitle; // pExport.JSAlert(runnable); ...

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

1089. Sprite3D-Sprite3D变换 [ 63%]

..., 0)); layaMonkey3 = scene.addChild(Laya.Sprite3D.instantiate(layaMonkey1, null, false, new Laya.Vector3(0.6, 0, 0))); Laya.timer.frameLoop(1, this, animate); } var _position = new Laya.Vector3(-0.6, 0, 0); var _rotate = new Laya.Vector3(0, 1, 0); var _scale = new Laya.Vector3(); var scaleDelta = 0;...

来源: Laya_示例 发布时间: 20251219

1090. laya.ui.HScrollBar_API3.0 [ 62%]

...一个新的 ScrollBar 实例。 Parameters Default value skin: string = null 皮肤资源地址。 Returns HScrollBar Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphi...

来源: Laya3.0_api 发布时间: 20231115