大约有 88 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
... main代码 // Main.ts - 简化版异步加载 import { CameraController } from "./CameraController"; import { Joystick } from "./Joystick"; import { Player } from "./Player"; const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { @property({ type: Laya.Sp...
来源: Laya_社区 发布时间: 20251125
...如下(这里我们直接修改GameUI类)。 ```typescript import { ui } from "./../ui/layaMaxUI"; /** * 本示例采用非脚本的方式实现,而使用继承页面基类,实现页面逻辑。在IDE里面设置场景的Runtime属性即可和场景进行关联 * 相比脚本方式,继承式...
来源: Laya2.0_文档 发布时间: 20210714
...AE&type=p&spm=a220m.1000858.a2227oh.d100&xl=%BB%A8%D3%A1_2&from=.list.pc_1_suggest'; if(window.innerHeight>=1000)//自动排版 { this.StartLeft.top= this.StartLeft.top-100; this.StartLeft.bottom= this.StartLeft.bottom+100; this.StartRight.top= this.StartRight.top-100; th...
来源: Laya_社区 发布时间: 20180810
Unity 导出预设报错 InvalidCastException: Cannot cast from source type to destination type. r.a (UnityEngine.GameObject A_0, .i A_1, Boolean A_2) r.a (UnityEngine.GameObject A_0, .i A_1, System.Collections.Generic.List`1 A_2) r.a (UnityEngine.GameObject A_0, .i A_1, .i A_2, Vector3 A_3, Quater...
来源: Laya_社区 发布时间: 20190429
...of your Apple Developer account, as well as removal of all associated apps from the App Store. 2018-02-28 0 2 分享 微博 QZONE 微信 riven 赞同来自: 请问你们新的库什么时候能弄好,我们等着提交app store审核,很紧急呀 2018-03-01 0 1 分享 微博 QZONE 微信 kaix...
来源: Laya_社区 发布时间: 20180225
... https://ldc2.layabox.com/doc/?language=zh&nav=zh-ts-1-5-1 关于Tween from和to 2020-11-20 1 1 分享 微博 QZONE 微信 157*****593 赞同来自: UncleBlock 看了一下你的demo,发现你的demo中UICtrl这个脚本利用了很多次(应该一次就够了吧),而且你可以仔细...
来源: Laya_社区 发布时间: 20201120
...t 'file:///E:/Game-SuperMary/SuperMary/release/web/res/atlas/option.atlas' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. load(url) { var me = this; ...
来源: Laya_社区 发布时间: 20200107
...,在源路径的末尾手动配置启动参数:“--allow-file-access-from-files”: 遇到LayaFlash编译后的项目报错,根据报错描述找到对应的AS3代码片段,分析可能的报错原因,修改好代码后再次编译,重复这些步骤就能完成LayaFlash...
来源: Laya_社区 发布时间: 20151218
...逻辑代码如下: const { regClass } = Laya; import { BloodBarBase } from "./BloodBar.generated"; import { Main } from "./Main"; @regClass() export class BloodBar extends BloodBarBase { onAwake(): void { this.bar.value = 1; this.value.visible = false; Laya.stage.on(Laya.Event.CLICK, this, this.o...
来源: Laya3.0_文档 发布时间: 20251010
...uzhisuowei123 • 2017-12-22 18:03 ...chrome.exe" --allow-file-access-from-files 是这样加吗? 但是重新打开刷新也是没效果,他说的第一种方法是不是给输出目录建立web服务器呢? Monica • 2017-12-22 18:07 @buzhisuowei123:是这样加,加完之后需要把...
来源: Laya_社区 发布时间: 20171222