大约有 6,598 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0147 秒)
Laya_社区(5247) Laya3.0_api(482) Laya2.0_文档(363) Laya_示例(154) Laya2.0_示例(116) Laya3.0_文档(105) Laya2.0_api(67) laya_api(64)
一个很奇怪的问题list的 _list = new Array(); _list = [{ "server_name": "hg", "runtime_state": 100, "id": 1, "host": "192.168.83.199", "version": "beta", "env": "stage", "game_id": 1, "port": 8989 } ]; trace(_list.length) serverlist.array = _list; 2017-08-18 添加评论 免费帖 --> 分享...
来源: Laya_社区 发布时间: 20170818
...定位引用? 例如我在as3定义了一个video对象: as3:video = new Video(760, 480); 那如何让jquery去定位引用到这个video呢? 2018-06-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_...
来源: Laya_社区 发布时间: 20180625
...LayaSample() { //初始化引擎 Laya.init(1136, 640); var func:Function = new A().method; func(); } } } package { public class A { private var _attr:int = 123; public function A() { } public function method():void { trace(_attr); } } } 2016-12-13 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20161213
3D模型tween旋转 Laya.Tween.to(sss.transform,{rotationEuler:new Laya.Vector3(0,0,0)},2000); sss是MeshSprite3D的节点,从unity导入laya的模型 运行上述代码后,模型不旋转。 使用sss.transform.rotationEuler=new Laya.Vector3(0,0,0),赋值有效 想问下,是我这个...
来源: Laya_社区 发布时间: 20200806
... started. D/IMonitor: Load library imonitor_jni V/ActivityThread: Skipping new config:{1.0 ?mcc?mnc [zh_CN_#Hans] ldltr sw360dp w360dp h578dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 1808) mAppBounds=Rect(0, 0 - 1080, 1808) mWindowingMode=fullscreen mActivi...
来源: Laya_社区 发布时间: 20190723
...anvas = this.HistoryArray.pop()[0]; var img:Image = new Image(); img.src = kk1.toDataURL(); img.dispose(); 详见附件。这次不会那么强大了 2017-04-07 0 0 分享 微博 QZONE 微信 Laya_XS 赞同来自: 游...
来源: Laya_社区 发布时间: 20170407
...e() { WebGL.enable(); Laya.init(1000, 900); //创建动画模板 templet = new Templet(); templet.on(Event.COMPLETE, this, parseComplete); templet.on(Event.ERROR, this, onError); //加载动画文件 templet.loadAni("res/spine/goblins/goblins.sk"); } private function onError():void { trace("parse er...
来源: Laya2.0_文档 发布时间: 20210715
...show(Browser.clientWidth - 120 >> 1, Browser.clientHeight - 100 >> 1); } } new Debug_FPSStats();module laya { import Browser = Laya.Browser; import Stat = Laya.Stat; export class Debug_FPSStats { constructor() { Laya.init(Browser.clientWidth, Browser.clientHeight); Stat.show(Browser.clientWidth - 12...
来源: Laya2.0_示例 发布时间: 20260303
toFixed(0)函数是什么作用? text = new Text(); text.fontSize = 20; text.text = (Math.random() * 100).toFixed(0); text.rotation = Math.random() * 360; text.color = "#CCCCCC"; 2018-03-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20180326
...所有碰撞结果的问题 this.scene.physicsSimulation.raycastAllFromTo(new Laya.Vector3(pos.x, -1, pos.z + 1), new Laya.Vector3(pos.x, 0 + 99, pos.z + 1), vAlign); 这里的 vAlign,数组内的碰撞结果 顺序是随机的还是和射线方向有关,我使用的时候,这个碰撞结果...
来源: Laya_社区 发布时间: 20190916