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

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

131. prop 识别不到 [ 68%]

... [15:26:35] Using gulpfile E:\myLaya\demo2\.laya\compile.js   [15:26:35] Starting 'compile'...   [15:26:38] 'compile' errored after 2.84 s [15:26:38] Error: E:/myLaya/demo2/src/start/Index.ts(9,36): semantic error TS2339: [31mProperty 'speed' does not exist on type 'Index'.[39m at error (E:\LayaAi...

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

132. laya.d3.component.physics.BoxCollider [ 67%]

...  size : Vector3 获取盒子碰撞器长宽高的一半。 BoxCollider started : Boolean是否已执行start函数。Component3DPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  BoxCollider() 创建一个 BoxCollider 实例。 BoxCollider  _initial...

来源: laya_api 发布时间: 20170929

133. laya.d3.component.physics.SphereCollider [ 67%]

...3D节点。 Component3D  radius : Number 获取半径。 SphereCollider started : Boolean是否已执行start函数。Component3DPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  SphereCollider() 创建一个 SphereCollider 实例。 SphereCollider ...

来源: laya_api 发布时间: 20170929

134. laya.d3.resource.RenderTexture [ 67%]

...h:Number, height:Number):Uint8Array 获得像素数据。 RenderTexture  start():void 开始绑定。 RenderTextureProtected Methods  MethodDefined By  detoryResource():void[override] 销毁资源。 RenderTexture  recreateResource():void[override] RenderTextureProperty DetaildepthStencilBuff...

来源: laya_api 发布时间: 20170929

135. ReferenceError: Loader is not defined 搞不懂引擎原生的也会报这个错? [ 67%]

...etComponent(LoveControl);  //点击提示文字,开始游戏 this.label_start.on(Laya.Event.CLICK, this, this.onTipClick); //this._loveControl.startGame();  //点击重置按钮,重新开始 this.button_reset.on(Laya.Event.CLICK, this, this.onClickReset);  let partPath = "res/aixin_bao.part";...

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

136. laya.d3.math.BoundSphere_API3.0 [ 67%]

...rns void Static createFromSubPoints createFromSubPoints(points: Vector3[], start: number, count: number, out: BoundSphere): void Defined in laya/d3/math/BoundSphere.ts:53 从顶点的子队列生成包围球。 Parameters points: Vector3[] 顶点的队列。 start: number 顶点子队列的起始偏...

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

137. laya.d3.component.animation.KeyframeAnimations [ 66%]

... : AnimationPlayer[read-only] 获取动画播放器。 KeyframeAnimations started : Boolean是否已执行start函数。Component3D  templet : AnimationTemplet 获取动画模板。 KeyframeAnimations  url : String[write-only] 设置url地址。 KeyframeAnimationsProtected Properties PropertyD...

来源: laya_api 发布时间: 20170929

138. 打包apk无法运行 [ 66%]

...ocalstorage E/0       ( 5275): ==============Java娴佺▼ FlashScreen start W/System.err( 5275): java.io.FileNotFoundException: flashscreen1.jpg W/System.err( 5275):    at android.content.res.AssetManager.openAsset(Native Met hod) W/System.err( 5275):    at android.content.res.AssetManager....

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

139. laya.resource.RenderTexture2D [ 66%]

...,所以如果被外面打断了的话,会出错。 RenderTexture2D  start():void 开始绑定。 RenderTexture2DProtected Methods  MethodDefined By  _disposeResource():void[override] RenderTexture2DPublic Constants Hide Inherited Public Constants Show Inherited Public Constants ConstantDef...

来源: Laya2.0_api 发布时间: 20190513

140. 要做一个方形倒计时,请问该怎么实现,不知道该怎么做 [ 66%]

...aths.Rectangle; public class CdSprite extends Sprite { public static const START:int = -90; public static const COLOR:String = "#000000"; private var r:Number = BarCell.WID / Math.SQRT2; private var rect:Rectangle = new Rectangle(0,0,BarCell.WID,BarCell.WID); private var pos:int = BarCell.WID*0.5; p...

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