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

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

741. List属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 39%]

...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.setup(); } private setup(): void { var list: List = new List(); list.itemRender = Item; list.repeatX = 1; list.repeatY = 4; list.x = (Laya.stage.width - It...

来源: Laya2.0_文档 发布时间: 20210715

742. 怎么实现同一个工程内分包? [ 39%]

...display.Sprite; import flash.display.StageAlign; import flash.display.StageScaleMode; import flash.events.Event; import login.LoginView; public class Main extends Sprite { public function Main():void { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(e:Ev...

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

743. laya.d3.core.particleShuriKen.ShurikenParticleSystem [ 39%]

...属性,需重新赋值此属性才可生效。 ShurikenParticleSystem  scaleMode : int缩放模式,0为Hiercachy,1为Local,2为World。暂不支持1,2ShurikenParticleSystem  shape : BaseShape 获取形状。 ShurikenParticleSystem  simulationSpace : int模拟器空间,0为World,1为Local。...

来源: laya_api 发布时间: 20170929

744. 骨骼动画-Spine事件 [ 39%]

...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#ffffff"; mLabelSprite = new Sprite(); Stat.show(); this.startFun(); } startFun() { const Templet = Laya.Templet, Event = Laya.Event; const mAniPath = "res/spine/spineRes...

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

745. Laya中的宏编译要怎么用啊 [ 38%]

...display.Sprite; import flash.display.StageAlign; import flash.display.StageScaleMode; import flash.events.Event; public class Main extends Sprite { public function Main():void { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(e:Event = null):void { remov...

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

746. 微信小游戏默认项目代码添加unity导出.lh文件,微信开发工具提示错误 [ 38%]

...it(); //初始化引擎 Laya3D.init(0, 0, true); //适配模式 Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; //开启统计信息 // Laya.Stat.show(); //添加3D场景 this.scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Scene; //添加照相机...

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

747. [BUG]刚体约束问题,移动后约束混乱! [ 38%]

...uctor() {     super();     Laya3D.init(0, 0);     Laya.stage.scaleMode = Laya.Stage.SCALE_FULL;     Laya.stage.screenMode = Laya.Stage.SCREEN_NONE;     Laya.Stat.show();     this.newScene = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D;        //初...

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

748. IDE1.7.19.1beta打包apk后后,播放spine动画出现图片缺失 [ 37%]

...请查看附件): Main.tsLaya.init(750, 1334, Laya.WebGL); Laya.stage.scaleMode = "showall"; Laya.stage.screenMode = "none"; Laya.stage.alignH = "center"; Laya.stage.alignV = "middle"; const spine: Laya.Skeleton = new Laya.Skeleton(); spine.pos(100, 400); spine.load('res/spine/princess1.sk', new...

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

749. Sprite-新手引导 [ 37%]

...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createPage(); } createPage() { const Sprite = Laya.Sprite; // 绘制底图 gameContainer = new Sprite(); Laya.stage.addChild(gameContainer); gameContainer....

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

750. List属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 37%]

...对齐 Laya.stage.alignH = Stage.ALIGN_CENTER; //等比缩放 Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //创建列表 createList(); } /***创建list列表**/ private function createList():void { //实例化列表 var list:List = new List(); //设置...

来源: Laya2.0_文档 发布时间: 20210715