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

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

2561. HTMLDivElement 2.0 只有单行内容是 水平排版不居中 [ 47%]

...:HTMLDivElement=new HTMLDivElement();      * div.innerHTML = "<link type='text/css' href='html/test.css'/><a href='alink'>a</a><div style='width:130px;height:50px;color:#ff0000'>div</div><br/><span style='font-weight:bold;color:#ffffff;font-size:30px;stroke...

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

2562. Unity导出lh文件中包含"LineSprite3D"时,在使用时报错 [ 47%]

...时报错: laya.d3.js:30421 Uncaught Error: Utils3D:unidentified class type in (.lh) file.     at Function._createSprite3DInstance (laya.d3.js:30421)     at Function._createSprite3DInstance (laya.d3.js:30426)     at Function._createNodeByJson02 (laya.d3.js:30458)     at Function._parse (la...

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

2563. QQ玩一玩打包问题 [ 47%]

...问题 推荐使用浏览器打开<br> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <br> <p style="margin:0;font-size:20px;line-height:24px;margin-bottom: 20px"> package log. version: 1.6<br> unzip:/data/apollo_game_pkg//pkg/20180709/1021/2809_src...

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

2564. 使用发光滤镜后的第一个遮罩效果无效 [ 47%]

...呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 微信小游戏如何使用ttf字体? 2d拖尾效果的实现方案 求高人分享使用protobuff框架的游戏...

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

2565. 微信授权,获取用户信息的接口实现方法,wx.createUserInfoButton [ 47%]

...ateUserInfoButton(                 {                     type: 'text',                     text: '点击进入游戏',                     style:                      {                         left: wx.getSystemInfoSync().windowWidth/2-70,...

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

2566. 2D聚光灯 · LayaAir3.4 · 引擎文档 · LAYABOX [ 47%]

...Laya; @regClass() export class SpotLight extends Laya.Script { @property({ type: Laya.Sprite }) private spotLight: Laya.Sprite; //组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { this.setSpotLight(); } // 创建聚光灯 setSpotLight(): void { this.spotLight.pos(336, 2...

来源: Laya3.0_文档 发布时间: 20251010

2567. laya.d3.physics.PhysicsComponent_API3.0 [ 47%]

... onPostRender onPreRender onReset onStart onUpdate Legend Class Class with type parameter Constructor Property Method Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface

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

2568. 精灵 · LayaAir3.4 · 引擎文档 · LAYABOX [ 47%]

...wScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Sprite }) public sprite1: Laya.Sprite; @property({ type: Laya.Sprite }) public sprite2: Laya.Sprite; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此...

来源: Laya3.0_文档 发布时间: 20251010

2569. 圆形的头像怎么实现? [ 47%]

...10-13 11:26 解决了吗? qq408896436 • 2017-10-16 11:53 @Moeb:<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <style type="text/css"> html,body{overflow: hidden;} *{margin: 0; padding:...

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

2570. laya.physics.ChainCollider_API3.0 [ 47%]

...PreRender onReset onStart onUpdate Legend Object literal Variable Function Type alias Inherited constructor Inherited property Inherited method Inherited accessor Class Class with type parameter Accessor Enumeration Interface

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