大约有 1,448 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0049 秒)
Laya3.0_api(470) Laya_社区(446) Laya_示例(152) Laya2.0_示例(119) Laya2.0_api(71) Laya2.0_文档(71) Laya3.0_文档(61) laya_api(58)
...说未定义。 export default class GameLoading extends ui.gamoloadingUI{ constructor(){ super(); this.PB.changeHandler = new Laya.Handler(this,this.onChange); } } 基类中明确有PB变量,是进度条。此处构造函数中设置事件报错,说PB未定义,但是放在onEnable中是正常...
来源: Laya_社区 发布时间: 20181225
...roperty } = Laya; @regClass() export class NewScript extends Laya.Script { constructor() { super(); } onMouseClick(evt: Laya.Event): void { // 尝试获取当前位置 Laya.Geolocation.getCurrentPosition( Laya.Handler.create(this, this.onSuccess), Laya.Handler.create(this, this.onError) ); console.l...
来源: Laya3.0_文档 发布时间: 20240910
...点的水平坐标。yproperty public var y:Number该点的垂直坐标。Constructor DetailPoint()Constructorpublic function Point(x:Number = 0, y:Number = 0) 根据指定坐标,创建一个新的 Point 对象。 Parameters x:Number (default = 0) — (可选)水平坐标。 y:Number (defau...
来源: laya_api 发布时间: 20170929
...icsProperty Detailgravitypropertypublic static var gravity:Vector3重力。Constructor DetailPhysics()Constructorpublic function Physics()Method DetailrayCast()method public static function rayCast(ray:Ray, outHitInfo:RaycastHit, distance:Number, layer:int = 0):void 在场景中投下可与所有碰...
来源: laya_api 发布时间: 20170929
...Laya.Vector2(100, 100); 直接就包了一个异常 "Laya.Vector2 is not a constructor" 这是为什么 版本1.7.20 beta 附件 : --> 2018-08-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 hejianchun 赞同...
来源: Laya_社区 发布时间: 20180823
...需求调整,这个是json的格式: // 程序入口 class GameMain{ constructor() { Laya.init(600,400); var that = this; Laya.loader.load([{"url":"res/playerKpiFont.json","type":Laya.Loader.JSON}, {"url":"res/playerKpiFont.png","type":Laya.Loader.IMAGE}],new Laya.Handler(that,function(){ var js...
来源: Laya_社区 发布时间: 20161014
... PhysicsCollider extends PhysicsTriggerComponent Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 做微信开放域遇到Uncaught Can not find class laya.ui.WXOpenDataViewer 做微信开放域遇到Uncaught Can not find class laya.ui.WXOpenDataViewer 问题状态 最...
来源: Laya_社区 发布时间: 20170406
...Load is undfine.请教应该怎么定义? export default class LocalTxt{ constructor() { LocalTxt.Instance = this; } onTxtLoad(aText){ console.info("dfasd"); } initTxt(){ Laya.loader.load("res/localtxt.txt",Laya.Handler.create(this, onTxtLoad),null,Loader.TEXT); } } 2019-01-30 添加评论 免费...
来源: Laya_社区 发布时间: 20190130
...aterial ExtendTerrainMaterial WaterPrimaryMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmediately lock name renderQueue url uuid ALPHATESTVALUE DEBUG RENDERQUEUE_ALPHATEST RENDERQUEUE_OPAQUE RENDERQUEUE_TRANSPARENT SHADERDEFINE_ADDTIVEFOG SHADERDEFINE_ALPHATEST ...
来源: Laya3.0_api 发布时间: 20231115
...ene undefined 引擎SWF动画示例,提示 TypeError: MovieClip is not a constructor 问题状态 最新活动: 2017-10-12 11:55 浏览: 883 关注: 2 人 apeCom • 2017-10-12 11:59 谢谢
来源: Laya_社区 发布时间: 20171012