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

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

241. 在Unity中设置动画事件(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 63%]

...响事件的触发这里是随便取的名。 ```typescript import laya.d3.component.Script3D; class SceneScript extends Script3D { //用于表现的方法 public var showMsgFunc:Function; public function SceneScript() { } //对应unity添加的AnimationEvent的动画事件函数,名字是可以...

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

242. laya.d3.core.render.IUpdate [ 63%]

...s Packagelaya.d3.core.renderInterfacepublic interface IUpdateImplementors Component3D, Sprite3D IUpdate 接口用于实现3D对象的更新相关功能。 Public Methods  MethodDefined By  _update(state:RenderState):voidIUpdateMethod Detail_update()method public function _update(state:RenderStat...

来源: laya_api 发布时间: 20170929

243. TypeError: Cannot read property '_layer' of null; at Function.FrustumCulling.renderObjectCulling [ 63%]

...property 'cursor' of undefined错误 Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoke...

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

244. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 63%]

...n this; }; //可以用style样式来控制各种控件的字体设置 Laya.Component.prototype["textFormatObj"] = null;//给Component基类定义一个textFormatObj属性 //Label字体样式处理 Laya["getset"](false, Laya.Label.prototype, "fontStyle", function () { return this["textFormatObj"]; },...

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

245. TypeError: Cannot read property '_byteLength' of null [ 63%]

...FontFaceFromBuffer is not a function Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoke...

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

246. as3分包,如果在ui编辑器IDE里导入了类runtime,在分包里就会报错。这个怎么处理。 [ 62%]

...   at MailWin.__proto.createChildren (Nxsg.max.js:71310)     at MailWin.Component (Nxsg.max.js:52200)     at MailWin.Box (Nxsg.max.js:58163)     at MailWin.View (Nxsg.max.js:62736)     at MailWinUI (Nxsg.max.js:71304)     at new MailWin (eval at __proto.loadJs (Nxsg.max.js:52044), <ano...

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

247. 带骨骼动画模型加载问题,加载没有刚体效果、动画Animator销毁报错 [ 62%]

...结构为: Sprite3D     child         Sprite3D             components                 Animator                 Rigidbody             child                 SkinnedMeshSprite3D   初始化的时候,直接拿第二层的 Sprite3D 创建,是有刚体...

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

248. 解析sk资源报错 [ 61%]

... Offset is outside the bounds of the DataView   代码: package com.ppt.components.role {     import laya.ani.bone.Skeleton;     import laya.ani.bone.Templet;     import laya.events.Event;          public class CombatRole extends BaseRole     {         private var _templet...

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

249. 按照官方例子操作,自定义组件编译出错 [ 61%]

...自定义组件编译出错 用fd编译报错 libs/laya/src/laya/editorUI/Component.as (86):warning:model This variable is not defined. 发现官方自定义组件教程里的地址https://github.com/layabox/layaair-ide-ui,更新时间是2016年的 代码里写的是model && model.size(_wi...

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

250. laya.d3.core.particleShuriKen.ShuriKenParticle3D [ 61%]

...huriKenParticle3DInheritanceShuriKenParticle3D RenderableSprite3D Sprite3D ComponentNode Node EventDispatcher Object ShuriKenParticle3D 3D粒子。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Sp...

来源: laya_api 发布时间: 20170929