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

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

91. laya.physics.joint.MotorJoint [ 60%]

...nt destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component id : int[read-only] 获取唯一标识ID。 Component isSingleton : Boolean[read-only] 获取是否为单实例组件。 Component joint : *[read-only] [只读]原生...

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

92. 骨骼动画-藤蔓 [ 60%]

...rivate var mFactory2:Templet; public function Skeleton_SpineVine() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); startFun(); } public function startFun():void { mAniPath = "../../../../res/spine/spineRes5/vine.sk"; mFactory = new Templet(); ...

来源: Laya_示例 发布时间: 20251130

93. 多线程worker(JavaScript-2D进阶篇(JS)-游戏加载策略) [ 60%]

...ader.workerPath = "libs/worker.js"; //开启worker线程 Laya.WorkerLoader.enable = true; //加载引擎需要的资源 Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,onLoaded)); function onLoaded(){ //实例UI界面 var testView = ui.test.TestPageUI(); Laya.stage.addChild(testView...

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

94. 骨骼动画-橡胶人 [ 59%]

...var mFactory2:Templet; public function Skeleton_SpineStretchyman() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); startFun(); } public function startFun():void { mAniPath = "../../../../res/spine/spineRes4/stretchyman.sk"; mFactory = new Temp...

来源: Laya_示例 发布时间: 20251130

95. 多线程worker(TypeScript-2D进阶篇(TS)-游戏加载策略) [ 59%]

...ader.workerPath = "libs/worker.js"; //开启worker线程 Laya.WorkerLoader.enable = true; //加载引擎需要的资源 Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //实例UI界面 var testView:ui.test.TestPageUI = new ui.test.TestPage...

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

96. laya.physics.joint.RevoluteJoint [ 59%]

...nt destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component  enableLimit : Boolean是否对刚体的旋转范围加以约束RevoluteJoint  enableMotor : Boolean是否开启马达,开启马达可使目标刚体运动Revolute...

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

97. 骨骼动画-藤蔓 [ 59%]

...rivate var mFactory2:Templet; public function Skeleton_SpineVine() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); startFun(); } public function startFun():void { mAniPath = "../../res/spine/spineRes5/vine.sk"; mFactory = new Templet(); mFacto...

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

98. 骨骼动画-橡胶人 [ 59%]

...var mFactory2:Templet; public function Skeleton_SpineStretchyman() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); startFun(); } public function startFun():void { mAniPath = "../../res/spine/spineRes4/stretchyman.sk"; mFactory = new Templet();...

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

99. 多线程worker(ActionScript-2D进阶篇(AS3)-游戏加载策略) [ 58%]

...kerLoader.workerPath = "libs/worker.js"; //开启worker线程 WorkerLoader.enable = true; //加载引擎需要的资源 Laya.loader.load([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } private function onLoaded():void { //实例UI界面 var testView:TestView = ...

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

100. laya.events.Event [ 58%]

...tic] 一个空的 Event 对象。用于事件派发中转使用。Event  ENABLE_CHANGED : String = enablechanged[static] 定义 enablechanged 事件对象的 type 属性值。Event  END : String = end[static] 定义 end 事件对象的 type 属性值。Event  ENTER : String = enter[static] 定...

来源: laya_api 发布时间: 20170929