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

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

301. laya.display.Input [ 76%]

...ts Packagelaya.displayClasspublic class InputInheritanceInput Text Sprite Node EventDispatcher Object Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框,由于不同浏览器的差异,会导致此对象的默认文本的位置与用户点击...

来源: laya_api 发布时间: 20170929

302. 问下关于websocket的问题 [ 76%]

...ayaAir技术手册里面的代码建了一个服务端的程序,为啥用node运行的时候弹出" Cannot find module 'ws'"? C:\Users\Administrator\Desktop>node jjj.js module.js:472 throw err; ^ Error: Cannot find module 'ws' at Function.Module._resolveFilename (module.js:470:15) at Function.M...

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

303. 如何更改Laya.Sprite3D 物件的颜色 [ 76%]

...4 _Main_Tex_var = tex2D(_Main_Tex,TRANSFORM_TEX(i.uv0, _Main_Tex)); float4 node_6615 = _Time + _TimeEditor; float3 emissive = (_Main_Tex_var.rgb * _Color.rgb * ((sin((node_6615.g * _Flicker_Speed)) + 2.0) * 0.5 * _Intensity)); float3 finalColor = emissive; return fixed4(finalColor,1); 2017-12-19 0 0...

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

304. laya.ui.FrameClip [ 76%]

...ss FrameClipInheritanceFrameClip FrameAnimation AnimationPlayerBase Sprite Node EventDispatcher Object 关键帧动画播放类 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透...

来源: laya_api 发布时间: 20170422

305. laya.d3.physics.CharacterController_API3.0 [ 75%]

...d3/physics/PhysicsComponent.ts:206 是否可以缩放Shape。 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:3...

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

306. 版本1.7.14beta , tsconfig.json里 target设置为es6, 项目发布时会报错, [ 75%]

... 发现发布的项目的时候会报错, Files\LayaAirIDE\resources\app\node_modules\uglify-js\lib\parse.js:204 throw new JS_Parse_Error(message, line, col, pos); ^ Error at new JS_Parse_Error (E:\Program Files\LayaAirIDE\resources\app\node_modules\uglify-js\lib\parse.js:196:18) at js_error (E:\P...

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

307. 如何隐藏tiledMap中指定的GridSprite? [ 75%]

...用当前的gridX和gridY给它做个规则命名,然后就可以通过Node.getChildByName来取得这个对象了。 然后在MapLayer类中加入这个方法,传入gridX和gridY,拼装成规则命名,然后用Node.getChildByName获取返回。 一点小建议,可能考虑得不是很周...

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

308. laya.components.Script_API3.0 [ 75%]

...efined in laya/components/Component.ts:56 Returns void _setOwner _setOwner(node: Node): void Inherited from Component._setOwner Defined in laya/components/Component.ts:112 Parameters node: Node Returns void destroy destroy(): void Inherited from Component.destroy Defined in laya/components/Component...

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

309. release发版错误大概知道什么原因吗? [ 75%]

...^    Error: EPERM: operation not permitted, symlink 'D:\moyu_h5\game\bin\node_modules\_abbrev@1.1.1@abbrev\' -> 'D:\moyu_h5\game\release\layaweb\v1.0.12\node_modules\abbrev'  at Object.fs.symlinkSync (fs.js:972:18)  at copySync (D:\programFiles\LayaAirIDE_beta\resources\app\node_modules\fs-ex...

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

310. laya.ui.TextInput [ 75%]

...a.uiClasspublic class TextInputInheritanceTextInput Label Component Sprite Node EventDispatcher ObjectSubclasses TextArea TextInput 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : ...

来源: laya_api 发布时间: 20170929