大约有 388 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0042 秒)
...a2.5 物理系统表现异常BUG 微信6.7.2版本3D显示BUG laya 2.0 bug onEnable 分离模式节点没有创建 问题状态 最新活动: 2020-07-19 12:31 浏览: 5684 关注: 9 人 天梦君 • 2020-07-20 13:49 我的 是刚进游戏就会出现,还有黑屏的情况,但是背景音乐还...
来源: Laya_社区 发布时间: 20191112
... this.loadScene("main.scene"); } onEnable() { console.log('init'); } } /**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ class GameConfig { stati...
来源: Laya_社区 发布时间: 20201110
...k/study/project/client/test/air_war/bin/js/bundle.js:70:18) at GameManager.onEnable (file:///D:/work/study/project/client/test/air_war/bin/js/bundle.js:47:18) at Scene._activeScripts (file:///D:/work/study/project/client/test/air_war/bin/libs/laya.core.js:13092:46) at Scene._processActive (file:///D...
来源: Laya_社区 发布时间: 20200309
...aya.Sprite; //组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { // 加载资源 Laya.loader.load("resources/spritelight.png", Laya.Loader.IMAGE).then(() => { this.setSpriteLight(); this.setDirectLight(); this.setBackground(); }); } // 配置精灵灯光 setSpriteLigh...
来源: Laya3.0_文档 发布时间: 20250214
...: 4231 关注: 2 人 Recovery • 2021-11-15 18:42 改成这样试试看 onEnable(): void { Laya.loader.load("comp/image.png", Laya.Handler.create(this, this.onResReady)); } private onResReady() { let panel = new Laya.Panel(); Laya.stage.addChild(panel); panel.graphics.drawRect(0, 0, 300, ...
来源: Laya_社区 发布时间: 20211108
...H= Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; } onEnable(){ this.playerUnit = []; this.enemyUnit = []; this.playerUnit.push(new Laya.Animation()); this.enemyUnit.push(new Laya.Animation()); this.loadUnit(); } loadUnit(){ for(let i of this.playerUnit ){ i.loadAtlas("./...
来源: Laya_社区 发布时间: 20200910
...做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask? 预设怎么在代码中使用 求高人分享使用protobuff框...
来源: Laya_社区 发布时间: 20181106
...spublic class CharacterControllerInheritanceCharacterController PhysicsComponent Component Object CharacterController 类用于创建角色控制器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By canCollideWith : int 获取可碰撞的碰...
来源: Laya2.0_api 发布时间: 20190513
...ectRatio boundFrustum canblitDepth clearColor clientHeight clientWidth components cullingMask depthTextureFormat depthTextureMode destroyed displayedInStage enableBlitDepth enableBuiltInRenderTexture enableHDR farPlane fieldOfView fxaa hideFlags id is3D layer maxlocalYDistance msaa nearPlane normali...
来源: Laya3.0_api 发布时间: 20231115
...ive activeInHierarchy aspectRatio boundFrustum canblitDepth clearColor components cullingMask depthTextureFormat depthTextureMode destroyed displayedInStage enableBlitDepth enableBuiltInRenderTexture enableHDR farPlane fieldOfView fxaa hideFlags id is3D layer maxlocalYDistance msaa nearPlane normali...
来源: Laya3.0_api 发布时间: 20231115