大约有 306 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0064 秒)
...码如下: const { regClass, property } = Laya; @regClass() export class Script extends Laya.Script { //共享材质,用于合批 public batchMat: Laya.Material; //颜色数目 private _colorNums = 20; //精灵数目 private _spriteNums = 200; private _createColorBufferData() { //随机给20个...
来源: Laya3.0_文档 发布时间: 20251010
...! Exit status 1 npm ERR! npm ERR! Failed at the electron@1.7.9 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional log ging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\guanll\AppData\Roaming\npm-cache\_logs\2...
来源: Laya_社区 发布时间: 20171027
...没用对?并不能替换是为什么?? 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? LAYA转换后,MovieClip的gotoAndStop方法会使子MovieClip偶尔显示不出图片 问题状态 最新活动: 2017-11-13 16:4...
来源: Laya_社区 发布时间: 20171113
...的多个动画,怎么分别调用?如图 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? Laya.Scene.open打开的对话框中如何在关闭的时候调用父Scene中的方法 编辑器选择分离模式生成TS代码...
来源: Laya_社区 发布时间: 20170116
...t Pre(T_2DContextPre)3.17 2D Context Render(T_2DContextRender)3.18 Script Update Time(T_ScriptUpdateTime)3.19 Script Late Update Time(T_ScriptLateUpdateTime)4. Draw Call(绘制调用)4.1 Opaque DrawCall(CT_OpaqueDrawCall)4.2 Trans DrawCall(CT_TransDrawCall)4.3 Depth Cast ...
来源: Laya3.0_文档 发布时间: 20260128
...xtureCube.load("skyBox/skyCube.ltc"); this.camera.addComponent(VRCameraMoveScript); this.ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); this.point = new Laya.Vector2(); this._outHitInfo = new Laya.RaycastHit(); // this.phasorSpriter3D = new Laya.PhasorSpriter3D(); } MouseP...
来源: Laya_社区 发布时间: 20170323
...加的糊 请问大佬有没有解决的办法 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? 2.0.0 beta3 开放域排行榜 部分文字显示异常!【有Demo必现】 原生层 通过Conch 调用js 方法 并传递json...
来源: Laya_社区 发布时间: 20190412
... cuixueying • 2016-12-29 10:34 所有js的原生类库都支持,html下script标签引入,在项目里直接用就可以了
来源: Laya_社区 发布时间: 20161228
... { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { onAwake(): void { let img = new Laya.Image; Laya.stage.addChild(img); img.pos(500,100); img.skin = "resources/layabox.png"; //纹理压缩的图片的路径 } onStart() { Laya.Stat.show(0, 0); //性能面板 } } 发...
来源: Laya3.0_文档 发布时间: 20251010
...键点中按钮,然后按钮随鼠标拖动 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? Label组件字体大小计算不对 问题状态 最新活动: 2017-06-08 09:54 浏览: 920 关注: 2 人
来源: Laya_社区 发布时间: 20170608