大约有 2,129 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0070 秒)
...boundsMin boxProjection components destroyed displayedInStage hideFlags id importance intensity is3D layer numChildren parent probePosition reflectionTexture scene timer transform url Methods _getIndexInReflectionList _initialize _processActive _setIndexInReflectionList addChild addChildAt addChildr...
来源: Laya3.0_api 发布时间: 20231102
...法的使用,示例代码如下: const { regClass, property } = Laya; import PhysicsGameMainRT from "../scence/physicsDemo/PhysicsGameMainRT"; /** * 掉落盒子脚本,实现盒子碰撞及回收流程 */ @regClass() export default class DropBox extends Laya.Script { /**盒子爆炸动画的...
来源: Laya3.0_文档 发布时间: 20251010
...啊 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 关于Dialog遮罩层移除解决问题的说明 LayaAirIDE1.4版本里用TS引擎库使用view嵌套发布html5报"Uncaught ...
来源: Laya_社区 发布时间: 20151028
... }, } 但修改完配置编译的时候会报错:This syntax requires an imported helper but module 'tslib' cannot be found 开发群里有大神提供了一种解决办法: 右键 LayaAirIDE.app->显示包内容,定位到 Contents->Resources->app->node_modules->rollup->dist...
来源: Laya_社区 发布时间: 20201223
...题 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) 关于微信7.0.3版本之后的版本,微信小游戏 Android 端调整 “在屏 Canvas” 的放缩策略 nati...
来源: Laya_社区 发布时间: 20190225
导入FBX报错 import u3d_fbx/Animator/fbx/temp/Machine_SundaeMaker.fbx failed! Error: fbxtool failed with '[2023-06-20 18:19:19.020] [resource_tool] [info] -b [2023-06-20 18:19:19.020] [resource_tool] [info] -k arg [2023-06-20 18:19:19.020] [resource_tool] [info] -u arg m [2023-06-20 18:19:19.020...
来源: Laya_社区 发布时间: 20230621
...s/music/test/FY-0079.wav"); }); } } import { JsonTool } from "src/tools/JsonTool"; import { ResourceManager } from "./ResourceManager"; declare function testmusic_cn_ios(accountId: string): void; enum SoundType { BGM, Effect, Dialogue, } expor...
来源: Laya_社区 发布时间: 20250930
...以查看排列为可扩展树的层次结构数据。 example package { import laya.ui.Tree; import laya.utils.Browser; import laya.utils.Handler; public class Tree_Example { public function Tree_Example() { Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.l...
来源: Laya3.0_api 发布时间: 20231115
...CubeAnimation动画节点添加动画脚本,添加的代码如下: ... import Vector3 = Laya.Vector3; ... export class AnimationScript extends Laya.AnimatorStateScript { ... private model: Laya.Sprite3D; /**@internal */ setPlayScriptInfo(animator: Laya.Animator | Laya.Animator2D, layerindex: num...
来源: Laya3.0_文档 发布时间: 20251010
...代码若干,仅展示api从初始化到接口使用的基础流程 */ import Browser = Laya.Browser; export default class GameRecorderMgr { /**录屏实例**/ private _recorder: any; static _instance: GameRecorderMgr; /**视频地址**/ private _videoPath: String = ""; constructor() { GameRecorde...
来源: Laya2.0_文档 发布时间: 20210715