大约有 3,183 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0116 秒)
...面的代码拷贝到引擎示例(3D-物理系统-基础碰撞器)中运行即可: class PhysicsWorldBaseCollider{ constructor(){ //初始化引擎 Laya3D.init(0, 0); //设置画布模式 Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; ...
来源: Laya_社区 发布时间: 20201127
...height = 50; btn.pos(100,100); btn.label = "按钮"; } } } ``` 上述代码运行效果如动图2所示:  (动图2) **Tips:** Button 组件的属性接口介绍请参考 [Button API](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=U...
来源: Laya2.0_文档 发布时间: 20210715
...itor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/Co...
来源: Laya3.0_api 发布时间: 20231115
...的,跳到编辑模式就显示这个 Error: asBitmap no size! IDE不能运行调试提示:Chrome error: Error:... spine动画转换失败,加载错误:导出二进制数据出错:writeUint8 error - Out of range261, 有谁知道什么原因导致的吗? 怎样解决? spine转换失败,加载错...
来源: Laya_社区 发布时间: 20190304
在LayaIDE中下载的运行器启动报错 安卓系统:5.0.1 官网下载laya的调试运行器,启动不了提示“LayaBox已停止” 错误日志如下: 03-19 15:01:04.756 15556-15556/? E/2jni: scheme:null 03-19 15:01:04.756 15556-15556/? E/LayaConch5: >>>>>>>conchjar...
来源: Laya_社区 发布时间: 20180319
...id Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: a...
来源: Laya3.0_api 发布时间: 20231115
...itor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/Co...
来源: Laya3.0_api 发布时间: 20231115
...id Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: a...
来源: Laya3.0_api 发布时间: 20231115
...ndow is not defined 启动引擎报错 mPlugin.game_plugin_init(3); runtime运行报错! 导微信小程序报错window.focus is not a function 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() Laya2.0 WebGl模式,使用 drawToCanvas 报错 ...
来源: Laya_社区 发布时间: 20210607
...ht TypeError: Cannot read property 'btCollisionObject' of undefined runtime运行报错! laya2 发布微信开放域工程,用微信开发者工具打开报错 微信小游戏编译报错 用了ByteArray的zlib.min.js后报错 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaugh...
来源: Laya_社区 发布时间: 20190910