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

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

801. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 67%]

...umber = 1;    public get id():number { return this._id }  public set id(value:number){     this._id = vaule;  } } class B extends A {   public set id(value:number){     this._id = value + 1;   } } class C extends A {  public get id():number { return this._id }  public set id(value:number...

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

802. [laya2.4] 关于代码压缩后let变量重复定义问题 [ 66%]

...子. 好些地方的let变量都出问题了)function loadProgress(item, value) { if (progress != null) { item.progress = value; var num = 0; for (var j = 0; j < items.length; j++) { var item1 = items[j]; if (item1) { let prog = item1.progress == undefined ? 0 : item1.progress; num += item1.size ...

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

803. laya.d3.renderobjs.renderobj.SceneRenderManagerOBJ_API3.0 [ 66%]

...J.ts:9 Accessors list get list(): SingletonList<BaseRender> set list(value: SingletonList<BaseRender>): void Defined in laya/d3/RenderObjs/RenderObj/SceneRenderManagerOBJ.ts:14 Returns SingletonList<BaseRender> Defined in laya/d3/RenderObjs/RenderObj/SceneRenderManagerOBJ.ts:18 Par...

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

804. laya.device.media.Video [ 66%]

...c function get currentTime():Number    public function set currentTime(value:Number):voiddurationproperty duration:Number  [read-only] 获取视频长度(秒)。ready事件触发后可用。 Implementation     public function get duration():Numberendedproperty ended:Boolean  [read-...

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

805. 微信开发者工具编译,运行正常,真机器测试报错 [ 66%]

...xError: Cannot declare a let variable twice: 't'. Stack: (native code) at evaluateScriptFile (WAGame.js:1:83273) at value (WAGame.js:1:406593) at value (WAGame.js:1:405741) at  (WAGame.js:1:411737) at  (WAGame.js:1:411740) at s (WAGame.js:1:403825) at  (WAGame.js:1:411633) at h (WAGame.js:1:2955)...

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

806. laya.physics.joint.WeldJoint [ 66%]

... public function get damping():Number    public function set damping(value:Number):voidfrequencyproperty frequency:Number弹簧系统的震动频率,可以视为弹簧的弹性系数 Implementation     public function get frequency():Number    public function set frequency(value:Numb...

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

807. laya.ui.View [ 66%]

... public function get anchorX():Number    public function set anchorX(value:Number):voidanchorYproperty anchorY:NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。 Implementation     public function get anchorY():Number    public function set anc...

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

808. LAYA的AS3项目碰见个问题,求解 [ 66%]

...te var names:String="";        override public function set dataSource(value:*):void         {             super.dataSource = value;             if(dataSource==null) return;             names=dataSource.name;              txts.text = names;           ...

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

809. laya.maths.MathUtils3D_API3.0 [ 66%]

...Hierarchy MathUtils3D Index Constructors constructor Properties Deg2Rad MaxValue MinValue zeroTolerance Methods fastInvSqrt isZero nearEqual Constructors constructor new MathUtils3D(): MathUtils3D Defined in laya/maths/MathUtils3D.ts:12 创建一个 MathUtils 实例。 Returns MathUtils3D Properties...

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

810. Invalid character: '`' Stack:[native code]异常 [ 66%]

...ne:12852,column:0,SyntaxError: Invalid character: '`' Stack:[native code] evaluateScriptFile@https://lib/WAGame.js:1:83259 value@https://lib/WAGame.js:1:178231 value@https://lib/WAGame.js:1:177377 https://lib/WAGame.js:1:182272 _@https://lib/WAGame.js:1:179659 https://lib/WAGame.js:1:182186 u@https:...

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