大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0058 秒)
Laya_社区(720) Laya3.0_api(672) Laya2.0_api(367) laya_api(298) Laya_示例(150) Laya2.0_示例(114) Laya2.0_文档(107) Laya3.0_文档(54)
...roxy.java”中的getExpansionMainPath函数,设置正确的zip路径。 public String getExpansionMainPath() { return "/storage/emulated/0/Android/test/com.layabox.game/test.zip"; } public String getExpansionPatchPath() { return ""; } LayaNative中最多支持两个zip文件,第二个zip修改g...
来源: Laya3.0_文档 发布时间: 20251010
...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/net/ResourceVersion" ResourceVersion Class ResourceVersion 资源版本的生成由layacmd或IDE完成,使用 ResourceVersion 简化使用过...
来源: Laya3.0_api 发布时间: 20231102
...取文本内容: generalPasteboard.setValueforPasteboardType("testValue", "public.utf8-plain-text"); var value = generalPasteboard.valueForPasteboardType("public.utf8-plain-text"); 2017-06-09 0 0 分享 微博 QZONE 微信 moketao 赞同来自: Native.js 的完整介绍:http://ask.dcloud.net.cn/arti...
来源: Laya_社区 发布时间: 20170531
... var scene1:GameScene = new GameScene(); Laya.stage.addChild(scene1); public class GameScene extends Scene { public function GameScene() { Laya.loader.create("LayaScene_01/loveScene.ls",Handler.create(this,this.completeHandler)); } private function completeH...
来源: Laya_社区 发布时间: 20170825
...操作。 原生例子: var num:int = 2340923944589; transfrom(num); public function transfrom(value:uint):void { trace(value); } 兼容H5写法: var num:int = 2340923944589; transfrom(num); public function transfrom(value:uint):void { trace(uint(value)); } (3)、除法运算取整描述...
来源: Laya_社区 发布时间: 20151204
...Body,rigidBody2); ``` - 3.设置约束的breakForce ```typescript override public function onStart() { this.fixedConstraint = this.owner.getComponent(FixedConstraint); //设置打破约束的力的阈值 this.fixedConstraint.breakForce = 1000; } override public function onUpdate() { if(this.fixedCon...
来源: Laya2.0_文档 发布时间: 20210714
...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/shader/DefineDatas" DefineDatas Class DefineDatas DefineDatas 类用于创建宏定义数据集合。 Hierarchy DefineDatas Implements IClone...
来源: Laya3.0_api 发布时间: 20231102
...port view.TestView; import laya.net.WorkerLoader; import laya.webgl.WebGL; public class LayaUISample { public function LayaUISample() { //初始化引擎 Laya.init(600, 400,WebGL); //设置Laya提供的worker.js的路径 WorkerLoader.workerPath = "libs/worker.js"; //开启worker线程 WorkerLoader.e...
来源: Laya2.0_文档 发布时间: 20210715
...t laya.display.Sprite; import laya.utils.Browser; import laya.webgl.WebGL; public class HelloLaya { public function HelloLaya() { Laya.init(Browser.width, Browser.height,WebGL); Laya.stage.bgColor="#eeffcc"; var sp:Sprite=new Sprite(); sp.graphics.drawRect(0,0,200,300,"#000fff"); Laya.stage.addChild...
来源: Laya_社区 发布时间: 20170830
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/LODGroup" LODInfo Class LODInfo 此类描述Lod数据 Hierarchy LODInfo Index Constructors constructor Accessors mincullRate render...
来源: Laya3.0_api 发布时间: 20231115