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

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

461. 请教,namspace 定义后,怎么使用里面的类 [ 59%]

...取命名空间方式,换成module后依然不行。   namespace Test { export class TestOne { Show(){ alert("调用成功!"); } } } Main.Ts ConfigLoaded 函数 onConfigLoaded(): void {                  var testOne=new Test.TestOne();//失败 未找到Test.TestOne        ...

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

462. laya.d3.physics.shape.CylinderColliderShape_API3.0 [ 59%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/shape/CylinderColliderShape" CylinderColliderShape Class CylinderColliderShape CylinderColliderShape 类用于创建圆柱碰撞器。 Hierarchy ColliderShape CylinderColliderShape Imple...

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

463. laya.d3.physics.shape.CapsuleColliderShape_API3.0 [ 59%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/shape/CapsuleColliderShape" CapsuleColliderShape Class CapsuleColliderShape CapsuleColliderShape 类用于创建胶囊形状碰撞器。 Hierarchy ColliderShape CapsuleColliderShape Impl...

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

464. laya.net.Downloader_API3.0 [ 59%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/net/Downloader" Downloader Class Downloader Hierarchy Downloader Index Properties httpRequestPool Methods audio common image imageWithBlob imageWithWorker Properties httpRequestPool httpRequestPool...

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

465. laya.d3.physics.shape.ConeColliderShape_API3.0 [ 59%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/shape/ConeColliderShape" ConeColliderShape Class ConeColliderShape ConeColliderShape 类用于创建圆锥碰撞器。 Hierarchy ColliderShape ConeColliderShape Implements IClone Index C...

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

466. layacmd atlas报错 [ 59%]

...rocess.js:319 throw errnoException(err, 'spawn'); ^ Error: spawn EACCES at exports._errnoException (util.js:1020:11) at ChildProcess.spawn (internal/child_process.js:319:11) at exports.spawn (child_process.js:369:9) at Object.<anonymous> (/usr/local/lib/node_modules/layacmd/layacmd-atlas.js:88...

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

467. laya.device.Shake_API3.0 [ 59%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/Shake" Shake Class Shake Shake只能在支持此操作的设备上有效。 Hierarchy EventDispatcher Shake Index Constructors constructor Accessors instance Methods event hasListener off of...

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

468. laya2.0 中的publish.js如何使用 [ 59%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 预设怎么在代码中使用 问题状态 最新活动: 2019-01-24 14:06 浏览: 889 关注: 2 人

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

469. Laya2.0 动画Animator如何监听播放完成 [ 59%]

...AnimatorStateScript   import AnimationDefine from "../AnimationDefine";  export default class AttackState extends Laya.AnimatorStateScript {  animator:Laya.Animator;  onStateEnter(): void {  }  onStateExit(): void { if(this.animator) { this.animator.crossFade(AnimationDefine.IDLE,0.5,0,0); } }...

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

470. laya.loaders.AnimationClip2DLoader_API3.0 [ 59%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/loaders/AnimationClip2DLoader" AnimationClip2DLoader Class AnimationClip2DLoader Hierarchy AnimationClip2DLoader Implements IResourceLoader Index Methods load Methods load load(task: ILoadTask): Pr...

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