大约有 157 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0032 秒)
...erShape Class ColliderShape ColliderShape 类用于创建形状碰撞器的父类,该类为抽象类。 Hierarchy ColliderShape CompoundColliderShape MeshColliderShape BoxColliderShape CapsuleColliderShape ConeColliderShape CylinderColliderShape SphereColliderShape StaticPlaneColliderShape Heightf...
来源: Laya3.0_api 发布时间: 20231115
... 子类又有重写get,set 的需求,子类的get,set 又无法调用父类的get,set, 所以用了es6, 发现发布的项目的时候会报错, Files\LayaAirIDE\resources\app\node_modules\uglify-js\lib\parse.js:204 throw new JS_Parse_Error(message, line, col, pos); ^ Error at new JS_P...
来源: Laya_社区 发布时间: 20180124
...这个不是重写,你这是这个是自己定义的东西 根本不是父类的那个XY,写对了就可以的 150*****705 • 2018-02-28 16:23 对 你说的我也理解 但是TS怎么重写XY 你试试 除了我这种写法 根本没别的写法 在原生的typescript里是可以super.x的 而...
来源: Laya_社区 发布时间: 20180227
...der 方法,对显示对象进行2次排序ca 才解决问题 /** * 覆盖父类的updateZOrder方法,先对自己的显示对象进行排序 */ __proto.updateZOrder=function(){ var array = this._showGridList; //遍历所有元素,根据zOrder排序 if (!array || array.length < 2)return fals...
来源: Laya_社区 发布时间: 20180412
...里面,里面的监听根本没有被调用,也查找了Laya.Scene的父类一直到laya.events.EventDispatcher才发现有这个虚方法,但是不知道为什么进不去onEnable方法里面,求解
来源: Laya_社区 发布时间: 20190402
...gidAnimations, SkinAnimations KeyframeAnimation 类用于帧动画组件的父类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By currentAnimationClipIndex : int[read-only] 获取播放器的动画索引。 KeyframeAnimations currentFr...
来源: laya_api 发布时间: 20170929
...的话是没有问题的,因为编译成js后会去掉。但一旦作为父类被继承的话就会报错了,我这边是.efc文件导出为EffectAnimation类型时发生的报错,给我导出成了laya.display.EffectAnimation,然后在继承该类时出现了laya is not defined的报错 202...
来源: Laya_社区 发布时间: 20200809
...ParticleRenderer, TerrainRender, TrailRenderer Render 类用于渲染器的父类,抽象类不允许实例。 Public Properties PropertyDefined By bounds : Bounds[read-only] 获取包围盒,只读,不允许修改其值。 BaseRender castShadow : Boolean 获取是否产生阴影。 BaseRende...
来源: Laya2.0_api 发布时间: 20190513
...er, PhysicsTriggerComponent PhysicsComponent 类用于创建物理组件的父类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By canCollideWith : int 获取可碰撞的碰撞组。 PhysicsComponent canScaleShape : Boolean = true 是...
来源: Laya2.0_api 发布时间: 20190513
...sole.log('BaseScene:我是基类BaseScene,我的子类是导出类,我的父类是场景类'); } } } 导出UI 导出后layaMaxUI.ts的内容如下/**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ import View=Laya.View; import Dialog=Laya.Dialog; impor...
来源: Laya_社区 发布时间: 20200827