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

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

21. Laya2.0 OC调用js [ 67%]

Laya2.0 OC调用js export default class Test  {       public static onClick():void{           alert("456")       }         }​   [[conchRuntime GetIOSConchRuntime] runJS:@"Test.onClick()"];  error: ReferenceError: Can't find variable: Test   p.p1 {margin: 0.0px 0.0px 0.0px 0.0px...

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

22. 在LayaIDE中下载的运行器启动报错 [ 67%]

...:01:10.221 15618-15618/? E/SELinux: [DEBUG] get_category: variable seinfo: default sensitivity: NULL, cateogry: NULL 03-19 15:01:10.386 3111-3111/? E/Tethering: No numeric data 03-19 15:01:10.391 6882-6882/? E/PlaceHolderContentViewRenderViewAdapter: APPLOGS: configHasChanged w=1080 h=1845 03-19 15:...

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

23. 编辑模式下的赋值不保留? [ 66%]

...名的无头像者 • 2018-10-25 14:56 写一个ts文件,写上 export default class Move extends Laya.Script{ /** @prop {name:target,tips:"目标容器",type:Prefab}*/ targetPrefab:Laya.Prefab; } 将文件在编辑模式下赋给点添加组件=》code=》move 然后创建一个box拖...

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

24. 部署web后无法请求访问HTTP API接口数据,调试模式下可以访问获取 [ 66%]

...       _config.Routes.MapHttpRoute(                     "API Default",                     "api/{controller}/{username}",                     new { username = RouteParameter.Optional });                 //这是重点,从配置文件的appsettings节点中...

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

25. 选择压缩混淆 JS发布项目,protobuf解析报错 [ 63%]

...e (true); break; case 5: this.skip(4); break;  /* istanbul ignore next */ default: throw Error("invalid wire type " + wireType + " at offset " + this.pos); } return this; }; 附件 : --> 2019-12-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

26. laya.device.media.Video_API3.0 [ 59%]

...des Sprite.constructor Defined in laya/device/media/Video.ts:43 Parameters Default value width: number = 320 Default value height: number = 240 Returns Video Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:58 _ownGraphics _ownGraphics: boolean...

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

27. laya.media.VideoNode_API3.0 [ 57%]

...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...

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

28. 如何使用vscode编译laya项目 [ 55%]

...compilerOptions:{removeComments: true}}, include:/.*.ts/, }), glsl({ // By default, everything gets included include: /.*(.glsl|.vs|.fs)$/, sourceMap: false, compress:false }), /*terser({ output: { }, numWorkers:1,//Amount of workers to spawn. Defaults to the number of CPUs minus 1 sourcemap: false ...

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

29. Laya.loader.load(xx) 当地址""的时候,会报错。 [ 53%]

...          break;                         default: {                             console.error('unknown format', ext);                             return;                         }  ...

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

30. laya.resource.Prefab_API3.0 [ 52%]

...Resource._addReference Defined in laya/resource/Resource.ts:203 Parameters Default value count: number = 1 Returns void _clearReference _clearReference(): void Inherited from Resource._clearReference Defined in laya/resource/Resource.ts:218 清除引用 Returns void _removeReference _removeReference...

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