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

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

961. describeType是否支持? [ 56%]

...有名为A的Function,as3里使用的describeType获得一个xml,然后Boolean(xml.method.(@name==method).length())来判断的。可以直接用在laya里头吗? 2015-12-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

962. 怎么让laya h5自动适应手机横竖屏? [ 56%]

...tionEx(0);//设置手机竖屏显示 以及 (6)IFlash.setAutoOrients(value:Boolean); 设置游戏是否自动根据手机方向旋转屏幕 。 @param autoOrients 是否自动旋转 true 旋转;false 不旋转 IFlash.setAutoOrients(true);//是否自动旋转 2015-12-04 1 0 分享 微博 QZONE 微...

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

963. laya.d3.physics.shape.CylinderColliderShape [ 56%]

...取Shape的本地旋转。 ColliderShape needsCustomCollisionCallback : Boolean = falseColliderShape  orientation : int[read-only] 获取方向。 CylinderColliderShape  radius : Number[read-only] 获取半径。 CylinderColliderShape type : int[read-only] 获取碰撞类型。 ColliderShapePu...

来源: Laya2.0_api 发布时间: 20190513

964. laya.d3.physics.shape.ConeColliderShape [ 56%]

...取Shape的本地旋转。 ColliderShape needsCustomCollisionCallback : Boolean = falseColliderShape  orientation : int[read-only] 获取方向。 ConeColliderShape  radius : Number[read-only] 获取半径。 ConeColliderShape type : int[read-only] 获取碰撞类型。 ColliderShapePublic Met...

来源: Laya2.0_api 发布时间: 20190513

965. collider其他层触发回调的问题 [ 56%]

...lic static function setLayerCollision(layer1:Layer, layer2:Layer, collison:Boolean):void {             _layerCollsionMatrix[layer1.number][(Layer.maxCount - 1) - layer2.number] = collison;         } 自己开启两个层的碰撞,如需多个层互相检测,需要多重开启...

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

966. laya.loaders.SerializeUtil_API3.0 [ 55%]

...getLoadTypeByEngineType Properties Static isDeserializing isDeserializing: boolean = false Defined in laya/loaders/SerializeUtil.ts:29 Methods Static applyOverrideData applyOverrideData(nodeData: any, overrideDataMap: Record<string, Array<any>>): any Defined in laya/loaders/SerializeUtil...

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

967. LAYABOX游戏实时语音之APP版本 [ 55%]

...ate String mMsgContent = null; private String mStoragePath = null; private boolean mAudioDownloaded = false; private long mRecvAudioMsgId = 0; private String mRecvAudioPath = null; private String mSendAudioPath = null; private long mPTTStartTime = 0; private YouMeIMCallback mCallback = new YouMeIMCa...

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

968. 鼠标交互-Hold [ 55%]

..."; //触发hold事件时间为1秒 private ape: Sprite; private isApeHold: Boolean; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleM...

来源: Laya2.0_示例 发布时间: 20260303

969. 关于切换图片的问题 [ 55%]

...lane2:string = "res/untitled.png"; private img: Laya.Sprite; private flag: boolean = false; constructor() { Laya.init(1000,800); this.img = new Laya.Sprite; this.img.loadImage(this.plane1); Laya.stage.addChild(this.img); this.img.graphics.clear(); this.img.loadImage(this.plane2); Laya.stage.addChild...

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

970. List表单renderHandler问题 [ 55%]

... static function create(caller:*, method:Function, args:Array = null, once:Boolean = true):Handler {             if (_pool.length) return _pool.pop().setTo(caller, method, args, once);             return new Handler(caller, method, args, once);         }   2018-07-04...

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