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

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

641. 骨骼动画-换装 [ 64%]

...rowser = Laya.Browser; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class ChangeSkin { private mAniPath:string; private mStartX:number = 400; private mStartY:number = 500; private mFactory:Templet; private mActionIndex:number = 0; private mCurrIndex:number = 0; private mArmature:Skelet...

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

642. UI-Label [ 64%]

... Stage = Laya.Stage; import Label = Laya.Label; import WebGL = Laya.WebGL; export class UI_Label { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_...

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

643. 鼠标脚本(JavaScript-3D基础(JS)-LayaAir3D之鼠标交互) [ 63%]

...,并且给4个猴都添加了脚本。 > **脚本类**: ```typescript export default class MouseScript extends Laya.Script3D{ constructor(){super();} //物体必须拥有碰撞组件(Collider) //当被鼠标点击 onMouseDown(e){ //console.log("点击到了我box",owner.name); //从父容器...

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

644. laya.components.Component_API3.0 [ 63%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/components/Component" Component Class Component Component 类用于创建组件的基类。 Hierarchy Component Widget Volume MeshFilter ConstraintComponent PhysicsComponent BaseRender Light Animat...

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

645. laya.net.URL_API3.0 [ 63%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/net/URL" URL Class URL URL 提供URL格式化,URL版本管理的类。 引擎加载资源的时候,会自动调用formatURL函数格式化URL路径 通过basePath属性可以设置网络基础...

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

646. Runtime照着视频做运行不了,求解 [ 63%]

Runtime照着视频做运行不了,求解 export default class TextInputExt extends Laya.TextInput{ constructor() { super(); } } 脚拖到runtime那里,结果运行提示找不到脚本 附件 : --> 2019-01-21 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

647. 2.0版本 CameramoveScript添加就报错 [ 63%]

... 2020-09-14 17:43 已经引用了。引用之后需要在class前面加入export default 132*****260 • 2020-09-11 18:57 我也是这样的问题

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

648. 发布Flash版本调试报错 [ 63%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 求助关于TiledMap的版本问题 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 问题状态 最新活动: 2017-05-03 21:42 浏览: 1159 关注: 2 人 zeroclan8 • 2017-05-04 09:43 好的 ze...

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

649. laya.d3.animation.AnimationTransform3D_API3.0 [ 63%]

...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/animation/AnimationTransform3D" AnimationTransform3D Class AnimationTransform3D AnimationTransform3D 类用于实现3D变换。 Hierarchy EventDispatcher AnimationTransform3D Index Constructors ...

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

650. [LayaAir3]3.3.2与设置组件灰显相关的 Bug 和 Crash [ 63%]

...D; } /** * 继承自AnimatorStateScript(动画状态脚本) */ @regClass() export class AnimationScript2D extends Laya.AnimatorState2DScript { /**动画的状态信息 */ playStateInfo: AnimatorPlayScriptInfo = { animator: null, layerindex: -1, playState: null }; setPlayScriptInfo(animator: Laya.Ani...

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