大约有 1,232 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0044 秒)
Laya_社区(702) Laya_示例(137) Laya2.0_文档(123) Laya2.0_示例(116) Laya3.0_文档(75) Laya3.0_api(39) laya_api(29) Laya2.0_api(11)
... 赞同来自: 特别好奇 /*[IF-FLASH]*/ package { /** * @private */ public function __JS__(value:*):* { return null; } } 这句话是什么意思~~~~~~查也查不到~在Laya源代码里面看到的 2018-03-21 0 0 分享 微博 QZONE 微信 为...
来源: Laya_社区 发布时间: 20160723
...发?请指导 如,android里写了一个Test类, public class Test { private Context context; public void init(final Context context) { this.context = context; } public void msg() { Log.d("layabox", "test"); Toast.makeText(context, "测试", Toast.LENGTH_SHORT).show(); } }该如何反射才能...
来源: Laya_社区 发布时间: 20180423
...phics["_one"] JS就是这点强大,什么都能访问,管你什么private,protected,还能覆盖原有的方法,属性。 2019-02-28 0 0 分享 微博 QZONE 微信 安 赞同来自: this.graphics._one.points this为挂着Graphics line的对象 2019-02-28 0 0 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20190228
...roscope.instance.on(Laya.Event.CHANGE, this, this.onOrientationChange); private onOrientationChange(absolute:Boolean, info: Laya.RotationInfo):void { if (info.alpha === null) { console.log("当前设...
来源: Laya_社区 发布时间: 20170925
...Loaded 这个,这种怎么跟呢?谢谢。 zeorro • 2017-11-02 17:13 private onLibLoaded():void { CommonLocator.parseJsonFile(); let arr = CommonLocator.getJsonList("active"); } 你的截图中的方法是这里调用的,就是加载完成的时候调用的 zeorro • 2017-11-02 17...
来源: Laya_社区 发布时间: 20171102
...= "#336699"; showApe(); } private function showApe():void { var t:Text = new Text(); t.text = "asdfasd"; t.fontSize = 50; t.color = "#ffffff"; Lay...
来源: Laya_社区 发布时间: 20170406
...之后定向到的是layaforqq.js的28829那一行, /**@private */ __proto._setClipChanged=function(){ if (!this._clipChanged){ this._clipChanged=true; this.callLater(this.change...
来源: Laya_社区 发布时间: 20181027
...MO “鼠标交互--双指旋转(多点触控)”有这样的代码: private onMouseDown(e: Event): void { var touches: Array<any> = e.touches; if (touches && touches.length == 2) { this.preRadian = Math.atan2( ...
来源: Laya_社区 发布时间: 20180301
...sceneURl, clas:MyScene}], Laya.Handler.create(this, this.loadComplete)); } private loadComplete():void { console.log("debuginfo LayaAir3D constructer loadres complete"); this._scene = MyScene.load(this._sceneURl) as MyScene; this._scene.output(); Laya.stage.addChild(this._scene); var camer...
来源: Laya_社区 发布时间: 20180317
关于fillText问题 private label_image:Laya.Sprite=new Laya.Sprite(); this.label_image.graphics.fillText(xxx, xxx,"15px Arial","#000000","center"); this.label_image.pos(0,0) Laya.stage.addChild(this.label_image); 这样写为什么CurMem会增加接近16M,这不就是在精灵上绘制嘛,...
来源: Laya_社区 发布时间: 20180425