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

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

641. playSound和playMusic结束时候有异常抛出 [ 53%]

...是否需要关注? Demo代码(已测试有效):  // 程序入口 class GameMain {     constructor()     {         Laya.init(640,1100, Laya.WebGL);         //设置适配模式         Laya.stage.scaleMode = "showall";         //设置剧中对齐         Laya.stage....

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

642. laya.physics.joint.MouseJoint_API3.0 [ 53%]

...nals Only exported Menu Globals "laya/physics/joint/MouseJoint" MouseJoint Class MouseJoint 鼠标关节:鼠标关节用于通过鼠标来操控物体。它试图将物体拖向当前鼠标光标的位置。而在旋转方面就没有限制。 Hierarchy JointBase MouseJoint Index Constructors cons...

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

643. laya.physics.ColliderBase_API3.0 [ 53%]

...ernals Only exported Menu Globals "laya/physics/ColliderBase" ColliderBase Class ColliderBase 碰撞体基类 Hierarchy Component ColliderBase BoxCollider ChainCollider CircleCollider EdgeCollider PolygonCollider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBo...

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

644. laya.d3.physicscannon.CannonPhysicsComponent_API3.0 [ 53%]

...bals "laya/d3/physicsCannon/CannonPhysicsComponent" CannonPhysicsComponent Class CannonPhysicsComponent PhysicsComponent 类用于创建物理组件的父类。 Hierarchy Component CannonPhysicsComponent CannonPhysicsTriggerComponent Index Constructors constructor Properties _extra _singleton canSca...

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

645. 射线检测报错,outHitInfo.sprite3D=null; [ 53%]

射线检测报错,outHitInfo.sprite3D=null; 代码: class SceneScript extends Laya.Script{  private ray : Laya.Ray; private hit: Laya.RaycastHit; private phasorSprite3D:Laya.PhasorSpriter3D; private camera : Laya.Camera; private scene: Laya.Scene;  public _load(owner : any):void{ this.scene ...

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

646. laya.utils.TimeLine_API3.0 [ 53%]

...erited Externals Only exported Menu Globals "laya/utils/TimeLine" TimeLine Class TimeLine TimeLine 是一个用来创建时间轴动画的类。 Hierarchy EventDispatcher TimeLine Index Properties scale Accessors total Methods addLabel destroy event from gotoLabel gotoTime hasListener off offAll off...

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

647. 想用js写一个什么也不继承的类,但每次实例化这个类的时候会报错,是不是这个类写得不对呀 [ 53%]

...);         console.log("执行测试构造函数"); } //注册类 Laya.class(Test,"Test",_super); //获取执行域 var _proto = Test.prototype; //_proto. return Test; })(); 2018-06-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

648. Cannot read property 'toDefault' of undefined报错是什么原因 [ 53%]

...ty 'toDefault' of undefined报错是什么原因 主要代码如下:Laya.class(MousePickingScene, "MousePickingScene", Laya.Scene); function MousePickingScene() { MousePickingScene.super(this); this.camera = new Laya.Camera(0,0.1,100); this.addChild(this.camera); this.camera.clearFlag = Laya.BaseC...

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

649. laya.components.Widget_API3.0 [ 53%]

...rited Externals Only exported Menu Globals "laya/components/Widget" Widget Class Widget 相对布局插件 Hierarchy Component Widget Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath EMPTY Accessors awaked bottom centerX centerY destroyed enabled hideFlags id ...

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

650. laya.ui.Widget_API3.0 [ 53%]

...All Inherited Externals Only exported Menu Globals "laya/ui/Widget" Widget Class Widget 相对布局插件 Hierarchy Component Widget Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath EMPTY Accessors awaked bottom centerX centerY destroyed enabled hideFlags id ...

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