大约有 69 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0049 秒)
...js", "target": "es6", "sourceMap": true }, "exclude": [ "node_modules" ] } test: let str = Md5.Instance.get_md5("123456"); console.log(str) //len:32 //e10adc3949ba59abbe56e057f20f883emd5.ts class Md5 { private static _inst:Md5; public static get Instance():Md5 { return this._inst ||(this._inst = new...
来源: Laya_社区 发布时间: 20190321
....Handler.create(this,onLoaded)); function onLoaded(){ //实例UI界面 var testView = ui.test.TestPageUI(); Laya.stage.addChild(testView); } ``` `WorkerLoader.workerPath = "libs/worker.js";`设置worker.js的路径,这个worker.js是Laya官方提供的,我们把他拷贝复制到我们自己设...
来源: Laya2.0_文档 发布时间: 20210715
... return; var layer: AnimatorControllerLayer = new AnimatorControllerLayer("test"); var animatorState: AnimatorState = new AnimatorState(); animatorState.clip = clip; layer.addState(animatorState); layer.defaultState = animatorState; layer.playOnWake = true; animator.addControllerLayer(layer); layer....
来源: Laya2.0_文档 发布时间: 20210715
...egory.LAUNCHER -D Waiting for application to come online: com.layabox.game.test | com.layabox.game Connecting to com.layabox.game Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. D/dalvikvm: Late-...
来源: Laya_社区 发布时间: 20171218
...ATE_BLEND_SRC, 's_BlendDst': Laya.Shader3D.RENDER_STATE_BLEND_DST, 's_DepthTest': Laya.Shader3D.RENDER_STATE_DEPTH_TEST, 's_DepthWrite': Laya.Shader3D.RENDER_STATE_DEPTH_WRITE } var shader = Laya.Shader3D.add("BLINNPHONG", null, null, true); var subShader = new Laya.SubShader(attributeMap, uniformMa...
来源: Laya2.0_文档 发布时间: 20210715
...ATE_BLEND_SRC, 's_BlendDst': Laya.Shader3D.RENDER_STATE_BLEND_DST, 's_DepthTest': Laya.Shader3D.RENDER_STATE_DEPTH_TEST, 's_DepthWrite': Laya.Shader3D.RENDER_STATE_DEPTH_WRITE } var shader = Laya.Shader3D.add("BLINNPHONG", null, null, true); var subShader = new Laya.SubShader(attributeMap, uniformMa...
来源: Laya2.0_文档 发布时间: 20210715
...() 07-04 20:55:27.291: E/(7884): m_pPlatform = layaair.game.Market.MarketTest@89945ff 07-04 20:55:27.337: I/LayaBox(7884): setLocalizable:0 07-04 20:55:27.337: I/LayaBox(7884): JNI setIsPlug:0 07-04 20:55:27.337: I/LayaBox(7884): JNI seturl:http://engine.develop.monitor.com/wheat/index.js 07...
来源: Laya_社区 发布时间: 20190704
...e4d 赞同来自: U3D导出的 unitypackage, 你试试吧, 谢谢了 test.rar 2017-11-09 0 12 分享 微博 QZONE 微信 game4d 赞同来自: @ymsdandan:新版本的资源导出工具出没? 链接给我一个 KeyNotFoundException: The given key was not present in the dictionary. Syste...
来源: Laya_社区 发布时间: 20171109
...ATE_BLEND_SRC, 's_BlendDst': Laya.Shader3D.RENDER_STATE_BLEND_DST, 's_DepthTest': Laya.Shader3D.RENDER_STATE_DEPTH_TEST, 's_DepthWrite': Laya.Shader3D.RENDER_STATE_DEPTH_WRITE } var shader = Laya.Shader3D.add("BLINNPHONG", null, null, true); var subShader = new Laya.SubShader(attributeMap, uniformMa...
来源: Laya2.0_文档 发布时间: 20210714
...示例代码如下: const { regClass, property } = Laya; //枚举 enum TestEnum { A, B, C }; //字符串形式的枚举 enum Direction { Up = 'UP', Down = 'DOWN', Left = 'LEFT', Right = 'RIGHT' }; @regClass() export class Script extends Laya.Script { @property(Number)//数字类型,等价于{ ty...
来源: Laya3.0_文档 发布时间: 20250103