大约有 1,063 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0054 秒)
Laya_社区(391) Laya2.0_api(241) laya_api(189) Laya2.0_文档(81) Laya_示例(65) Laya2.0_示例(51) Laya3.0_api(32) Laya3.0_文档(13)
...--------------------------- public function Grid(width_or_matrix:*, height:int, matrix:Array = null) 虽然as3不支持多个构造函数,但是也没必要用这种解决方法吧,包括Grid构造函数初始化的代码简直绕晕了 附件 : --> Astar.zip 2016-12-21 添加评论 免费帖 --...
来源: Laya_社区 发布时间: 20161221
...olor = "#232628"; setup(); } private function setup():void { var terminalX:int = 200; var characterA:Sprite = createCharacter("../../../../res/cartoonCharacters/1.png"); characterA.pivot(46.5, 50); characterA.y = 100; var characterB:Sprite = createCharacter("../../../../res/cartoonCharacters/2.png")...
来源: Laya_示例 发布时间: 20260303
...function onClick(sp:Sprite,panel:Panel):void { trace('Add1000'); for(var i:int=0;i<1000;i++) { var button:Button=new Button('button-4.png'); button.label='button:'+i; sp.addChild(button); button.y=i*60; } sp.graphics.clear(); sp.graphics.drawRect(0,0,500,1000*60,"#FF0000"); sp.size(500,1000*60);/...
来源: Laya_社区 发布时间: 20170601
...请退出重进" ).setPositiveButton("确定" , new DialogInterface.OnClickListener(){ @Override public void onClick(DialogInterface dialogInterface, int i) { MainActivity.my_activity.finish(); } }).show(); } 浪货界扛把子 • 2018-01-16 12:05 @Monica:代码没看到什么问题...
来源: Laya_社区 发布时间: 20180116
...b4600df769>:0) LayaAir3D.exportResource (System.Boolean isDebug, System.Int32 Platformindex, System.String lastname) (at <174bbe38e5444724b5b9eeb4600df769>:0) b+l.b () (at <174bbe38e5444724b5b9eeb4600df769>:0) q.b (q+a A_0) (at <174bbe38e5444724b5b9eeb4600df769>:0) q.a () (at &l...
来源: Laya_社区 发布时间: 20201230
...ibility) { // this._timeId = window.setInterval(this._enterFrame, 1000); ILaya.m_worker.postMessage(['wait']); } else if (this._timeId != 0) { //...
来源: Laya_社区 发布时间: 20201201
...tionAll Packages | All Classes | Index | Frames No Frames PrismaticJointProperties | Methods Packagelaya.physics.jointClasspublic class PrismaticJointInheritancePrismaticJoint JointBase Component Object 平移关节:移动关节允许两个物体沿指定轴相对移动,它会阻止相...
来源: Laya2.0_api 发布时间: 20190513
...17-03-13 0 0 分享 微博 QZONE 微信 yuelijuan 赞同来自: for (var i:int = 0; i < meshSprite.meshRender.sharedMaterials.length; i++) { var mat:StandardMaterial = meshSprite.meshRender.sharedMaterials[i] as StandardMaterial; ...
来源: Laya_社区 发布时间: 20170311
... export default class TestScript extends Laya.Script { /** @prop {name:intType, tips:"整数类型示例", type:Int, default:1000}*/ public intType: number = 1000; /** @prop {name:numType, tips:"数字类型示例", type:Number, default:1000}*/ public numType: number = 1000; /** @prop {name:strTy...
来源: Laya_社区 发布时间: 20181215
...tiate(item); }else{ OnComplete(); } } } public function DelayDestroy(delay:int):void { this.timerOnce(delay,this,destroy); } public function OnComplete():void { var item:Sprite3D = Laya.loader.getRes(_path) as Sprite3D; if(item != null){ item = item.getChildAt(0).clone(); Instantiate(item); } } priv...
来源: Laya_社区 发布时间: 20180425