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

大约有 503 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0050 秒)

81. UI-Tree [ 73%]

...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class UI_Tree { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage....

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

82. unity5.3.4f1. 导出模型失败 [ 73%]

...zation.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr...

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

83. vmLaya: MVVM for LayaAir [ 73%]

...ya 基本应用:const TEST_PAGE = 'TestPage.json'; //我们的 ViewModel class HelloViewModel { //每隔 500ms 自增的一个数字序列   hello$ = $.timer(0, 500); } //一个 View @createView(TEST_PAGE) class HelloView extends VmViewBase<HelloViewModel> { //绑定 viewModel 的 hello$ ...

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

84. 如果作大型LAYA AS项目,有可能支持module技术么 [ 73%]

...径要求么?   我在项目src目录同级的目录下创建了modules/classes/src/testA/testA.as module.def里配置如下: module:"module" path:"modules\src\testA",或者改成path:"modules\src",编译后的module.js生成均只有以下内容  (nction(window,document,Laya){     var ...

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

85. ts项目因为类的顺序问题报错 [ 73%]

ts项目因为类的顺序问题报错 a.ts class A {}   b.ts class B{} new A()   <!--jsfile--startTag--> <script src="js/b.js"></script> <script src="js/a.js"></script> <!--jsfile--endTag-->   报错 ReferenceError: A is not defined   因为js文件的执行...

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

86. LayaIDE 2.13.0 添加组件菜单无法显示二级继承的子类 [ 73%]

...组件菜单无法显示二级继承的子类 实例代码 export default class View1 extends Laya.Script { }   import View1 from "./View1"; export default class View2 extends View1 { }升级到2.13.0后,在编辑模式属性面板点击【添加组件】按钮,显示的【Code】菜单下只...

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

87. 鼠标穿透问题 [ 72%]

...t laya.ui.List; import laya.utils.Handler; import laya.webgl.WebGL; public class Bootstrapper extends Sprite { protected var _list:List; protected var _items:Array; protected var _loadingBg:Sprite; public function Bootstrapper() { Laya.init(696, 1118, WebGL); Laya.stage.bgColor = "#232628"; Laya.sta...

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

88. [LayaAirIDE3]【插件开发】配置方式可以生成非常复杂的界面的部分疑惑 [ 72%]

...理界面时,有些 inspector 不知道如何配置使用。   export class SplitAtlasDialog extends IEditor.Dialog { async create() { let panel = IEditor.GUIUtils.createInspectorPanel(); let data = Editor.getSettings("SplitAtlasSetting").data; panel.allowUndo = true; panel.inspect(data, "SplitAt...

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

89. LayaAir 2.0 TS版编译出错GameConfig跟创建项目时生成的内容不一致了 [ 72%]

...项目时生成的内容不一致了 这是创建项目时的内容/**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ import GameUI from "./script/GameUI" import GameControl from "./script/GameControl" import Bullet from "./script/Bullet" import DropBox ...

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

90. 图集动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 72%]

... 动画播放基类: [https://layaair.ldc.layabox.com/api/?category=Core&class=laya.display.AnimationPlayerBase](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=display&class=laya.display.AnimationBase) 动画类: [https://layaair.ldc.layabox.com/ap...

来源: Laya2.0_文档 发布时间: 20210715