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

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

81. laya.d3.core.ui3d.UI3D_API3.0 [ 67%]

...像机的父类。 Hierarchy BaseRender UI3D Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge TempMatrix Accessors awaked billboard bounds boundsChange castShadow cull destroyed distanceForSort enableHit enabl...

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

82. layaair 2.0 在构造函数中获取基类的组件,报错说未定义。 [ 66%]

...说未定义。 export default class GameLoading extends ui.gamoloadingUI{ constructor(){ super(); this.PB.changeHandler = new Laya.Handler(this,this.onChange); } } 基类中明确有PB变量,是进度条。此处构造函数中设置事件报错,说PB未定义,但是放在onEnable中是正常...

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

83. 设置遮罩(JavaScript-LayaAir基础篇(JS)-位图) [ 66%]

...如下 ```javascript import GameConfig from "./GameConfig"; class Main { constructor() { //根据IDE设置初始化引擎 if (window["Laya3D"]) Laya3D.init(GameConfig.width, GameConfig.height); else Laya.init(GameConfig.width, GameConfig.height, Laya["WebGL"]); Laya.stage.scaleMode = GameConfig.scal...

来源: Laya2.0_文档 发布时间: 20210715

84. 升级到3.0-beta6无法选择资源了 [ 66%]

...    @property(Laya.Image)     public image: Laya.Image = null;      constructor() {         super();     } } 附件 : --> 2023-04-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 layabox 赞同来自...

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

85. RopeJoint代码动态创建 无法设置otherbody [ 65%]

...ya.Script {     static Fru:fruit;     public rope:Laya.RopeJoint     constructor() {         super();        fruit.Fru=this;             }      onAwake() {         let rig:Laya.RigidBody=this.owner.getComponent(Laya.RigidBody);         var lala=UIcontrol.FUI.bg.getComp...

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

86. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 65%]

...示的文本颜色(输入框有这个玩意儿) */ promptColor:string; constructor() { } }这些字段就是Label控件类设置样式的相关属性。这里我只选取了我需要的。还有那些align等属性,可以根据自己需要定义。这里只是抛砖引玉……2.设计一个ex...

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

87. class导出问题 [ 65%]

...ind class laya.ani.bone.Skeleton 发布微信小游戏运行错误,Class constructor xx cannot be invoked without 'new' Uncaught Can not find class laya.html.dom.HTMLDivElement laya 2.0 用class创建scene, 实例 的 url属性为null, 脚本重命名后报Uncaught Can not find class 错误 Uncaug...

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

88. timeline播放完成Bug [ 64%]

timeline播放完成Bug class Sprite_DisplayImage { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH ...

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

89. 2.4.0bate在放大缩小时文本会不同程度的模糊 [ 64%]

...paused: number;         static playing: number;         constructor();     }   导致之前用到的动画状态静态常量获取不到 2019-12-13 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 虫虫 相关问...

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

90. laya.resource.TextureCube_API3.0 [ 64%]

... 类用于生成立方体纹理。 Hierarchy BaseTexture TextureCube Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture destroyed dimension filterMode format gammaCorrection gammaSpace ...

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