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

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

581. 编辑模式下的赋值不保留? [ 57%]

...头像者 • 2018-10-25 14:56 写一个ts文件,写上 export default class Move extends Laya.Script{ /** @prop {name:target,tips:"目标容器",type:Prefab}*/ targetPrefab:Laya.Prefab; } 将文件在编辑模式下赋给点添加组件=》code=》move 然后创建一个box拖为预制...

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

582. LayaNative二次开发原生安卓是不是并不能控制照相机和系统相册 [ 57%]

...搜索研究了半天,callWithBack好像无法和MainActivity这种入口class中的方法交互,文档中给出的示例都是简单类的交互。希望有经验的大神指点迷津,给出切实可行的demo。 2018-07-19 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关...

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

583. 请问怎么通过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

584. 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

585. 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

586. 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

587. 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

588. 给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

589. 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

590. 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