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

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

581. 请问怎么通过OC直接调用一个JS函数 [ 57%]

...是什么意思?    [[conchRuntime GetIOSConchRuntime] callMethod:0 className:@"MyClass" methodName:@"CallBackFuncXXX" param:XXXX];  我按上面写会出现错误日志  reflection error : can not find class [MyClass] 如果用runJS来执行的话我代码写成这样 "Laya.MyClas...

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

582. UI编辑发布后运行lose skin [ 57%]

...mport Handler = Laya.Handler; import Loader = Laya.Loader; // 程序入口 class GameMain{ private begin: Begin; constructor() { Laya.init(600,400, WebGL); Laya.stage.bgColor = "#000000"; Laya.loader.load("comp/button.png", Handler.create(this, this.onLoaded)); } private onLoaded(): void { this.begi...

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

583. laya.ani.js:4637 Uncaught TypeError: Cannot read property 'getAnimationCount' of null [ 57%]

...w.scene undefined Cannot read property 'displayObject' of null laya 2.0 用class创建scene, 实例 的 url属性为null, Laya发布微信包提示Uncaught ReferenceError: Laya is not defined 多个对象添加点击事件, 舞台上面移除掉所有对象,并且置为null 问题状态 最新活...

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

584. laya.d3.utils.Physics3DUtils_API3.0 [ 57%]

...s Only exported Menu Globals "laya/d3/utils/Physics3DUtils" Physics3DUtils Class Physics3DUtils Physics 类用于简单物理检测。 Hierarchy Physics3DUtils Index Constructors constructor Properties COLLISIONFILTERGROUP_ALLFILTER COLLISIONFILTERGROUP_CHARACTERFILTER COLLISIONFILTERGROUP_CUSTOMFIL...

来源: Laya3.0_api 发布时间: 20231115

585. IDE编译时报错,TS2307 [ 56%]

...1815 关注: 2 人 IXgSoul • 2020-04-07 12:00 嗯导出了export default class ResponerManager kylin • 2020-04-07 18:15 @IXgSoul:辛苦传一个可复现的简单demo吧,仅从目前的信息我们无法继续调查。 IXgSoul • 2020-04-09 11:18 @kylin:查到了,是循环引用导致的。...

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

586. 给Dictionary添加个长度 [ 56%]

...;Dictionary</code> 是一个字典型的数据存取类。 */ public class Dictionary { private var _lenght:int = 0; private var _values:Array = []; private var _keys:Array = []; /** * 获取字典的长度。 */ public function get lenght():int { return _lenght; } /** * 获取所有的子元...

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

587. laya.d3.webxr.core.ButtonGamepad_API3.0 [ 56%]

...Only exported Menu Globals "laya/d3/WebXR/core/WebXRGamepad" ButtonGamepad Class ButtonGamepad 类用来描述gamepad Button Hierarchy EventDispatcher ButtonGamepad Index Constructors constructor Properties handness index EVENT_PRESS_ENTER EVENT_PRESS_OUT EVENT_PRESS_STAY EVENT_PRESS_VALUE EVENT_TOU...

来源: Laya3.0_api 发布时间: 20231115

588. laya.gltf.glTFUtils_API3.0 [ 56%]

...rited Externals Only exported Menu Globals "laya/gltf/glTFUtils" glTFUtils Class glTFUtils glTFUtils 用于解析 glTF 2.0 对象 Hierarchy glTFUtils Index Properties Extensions Extras Methods RegisterExtra UnRegisterExtra _createMesh _createMeshSprite3D _createSceneNode _createSkinnedMeshSprite3D _...

来源: Laya3.0_api 发布时间: 20231102

589. Error: 代码包大小为 5533 kb,上限为 4096 kb,请删除文件后重试? [ 56%]

...文件后重试? 我就弄了一个测试代码,压根就没有功能。 class Main { constructor() { console.log(Laya.Browser.width, Laya.Browser.height); this.current = { x: 0, y: Laya.Browser.height }; // Laya.stage.bgColor = "#3F51B5"; this.sp = new Laya.Sprite(); Laya.stage.addChild(this.sp);...

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

590. IDE提示类已存在,怎么办 [ 56%]

...动过;直接F5运行就报出类已经存在的错误; Warning!,this class[MiniAdpter] already exist: Object 2018-01-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 qian 赞同来自: 新建项目试一下~...

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