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

大约有 1,229 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0044 秒)

821. 我看到这段话后,我 [ 56%]

...2019-08-13 17:34 浏览: 2123 关注: 3 人 ageazrael • 2020-04-20 15:06 export class XClass { public get XValue(): number { return 100; } public set XValue(v: number) { console.log(v); } } var x = new XClass(); x["XValue"] = 100; 你运行一下看看呢、这能覆盖函数吗? ageaz...

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

822. 请问这是原因? [ 56%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 请问下怎么引入第三方库 请问laya里如何解析json,似乎和AS3的不太一样。 请问一下 ProtoBuf 支持 as3 版本吗? 问题状态 最新活动: 2019-05-16 14:57 浏览: 581 关注: 2 人 ...

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

823. LayaNative端使用.ttf字体 [ 56%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 请问下加载TFF字体要怎么加载呢? 问题状态 最新活动: 2018-07-18 11:38 浏览: 11154 关注: 10 人 daqiuqu • 2019-11-16 11:12 现在版本使用 TTFLoader zjw917329684 • 2017-05-24 16:49 ...

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

824. UI-Clip [ 56%]

...ge = Laya.Image; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Clip { private buttonSkin: string = "res/ui/button-7.png"; private clipSkin: string = "res/ui/num0-9.png"; private bgSkin: string = "res/ui/coutDown.png"; private counter: Clip; private currFrame: number; priv...

来源: Laya2.0_示例 发布时间: 20241001

825. 鼠标交互-修正交互区域 [ 56%]

...nt = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Interaction_FixInteractiveRegion { private logger: Text; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDD...

来源: Laya2.0_示例 发布时间: 20241001

826. laya.maths.Matrix3x3_API3.0 [ 56%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Matrix3x3" Matrix3x3 Class Matrix3x3 Matrix3x3 类用于创建3x3矩阵。 Hierarchy Matrix3x3 Implements IClone Index Constructors constructor Properties elements DEFAULT Methods clone clone...

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

827. laya.d3.webxr.core.WebXRInput_API3.0 [ 56%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/WebXR/core/WebXRInput" WebXRInput Class WebXRInput author miner 类用来描述输入设备 Hierarchy EventDispatcher WebXRInput Index Constructors constructor Properties _lastXRPose gamepadAxis...

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

828. 求助,屏幕旋转后滚动条没有跟随旋转 [ 56%]

求助,屏幕旋转后滚动条没有跟随旋转 module dialog { export class WanF extends ui.dialog.WanFUI { constructor() { super(); this.rotation = 90; this.pos(1060, 280); let panel = new Laya.Panel(); panel.size(638, 527); panel.vScrollBarSkin = "CommDialog/vscroll.png"; this.sp_wanfa.addCh...

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

829. 请问怎么制作一个layabox js版本的加载效果 [ 56%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 求助关于TiledMap的版本问题 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 动画混合无效(版本2.6) 问题状态 最新活动: 2018-01...

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

830. Laya3D场景加载问题 [ 56%]

Laya3D场景加载问题 测试内容:加载3D场景   代码如下: export default class TestUI extends ui.test.TestSceneUI {     private resource: Array<String> = [         "gate/Conventional/Test.ls",     ];     constructor() { super(); }     onAwake(): void {         ...

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