大约有 87 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
...ternal (System.String path) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/Directory.cs:131) System.IO.Directory.CreateDirectory (System.String path) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/Directory.cs:96) FileUtil.IOManager.saveFile (System.Stri...
来源: Laya_社区 发布时间: 20170508
...dle.js 文件和laya.core.js中有这个代码: *模板,预制件 */ //class laya.components.Prefab var Prefab=(function(){ function Prefab(){ /**@private */ this.json=null; } __class(Prefab,'laya.components.Prefab'); var __proto=...
来源: Laya_社区 发布时间: 20181102
...5%9F%9F%E5%BC%80%E5%8F%91/image-20190307200032836.png?lastModify=1551962708class Main { constructor() { //设置子域 Laya.isWXOpenDataContext = true; Laya.isWXPosMsg = true; //根据IDE设置初始化引擎 Laya.init(GameConfig.width, GameConfig.height,false); Laya.stage.scaleMode = GameConfig.sca...
来源: Laya_社区 发布时间: 20190307
...自: Laya.URL.__init__函数被修改了。之前版本是这样的。 class URL { static __init__() { null == URL.basePath && (URL.basePath = location && null != location.protocol && "" != location.protocol ? URL.getPath(location.protocol + "//" + location.host + location...
来源: Laya_社区 发布时间: 20250701
...() { function Hero(type, hp) { Hero.__super.call(this); this.fly(); } Laya.class(Hero,"Hero", Air); var _proto = Hero.prototype; _proto.fly = function() { this.playAction("fly") } })(); air类: (function() { function Air(type, hp) { this.hp = hp; this.type = type; this.body = null; Air.__super.cal...
来源: Laya_社区 发布时间: 20180911
...有通过一个类的名字(字符串)来获取该类的方法?类似get class by name 如何检测Animation动画播放完毕后去执行方法? 调用Laya.loader.load()方法加载资源,怎么获取所加载的资源大小. laya中js 调到 java 那边的方法 是在主线程吗 对于使...
来源: Laya_社区 发布时间: 20171110
...laya.display.Stage; import laya.display.Text; import laya.ui.Image; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); Laya.stage.bgColor = "#235615"; //设置适配模式 Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; La...
来源: Laya_社区 发布时间: 20170228
...function OnlinePlaySence(data) { OnlinePlaySence.super(this); } Laya.class(OnlinePlaySence, "OnlinePlaySence", BasePlaySenceUI); 附件 : --> 2017-12-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya...
来源: Laya_社区 发布时间: 20171219
2.0.0beta5 can not find class Laya.Text 我有个项目 Laya.version 显示 2.0.0beta5 请问我应该下载哪个版本的编辑器?我下载了 这两个版本的,运行的时候提示我这个 这是什么情况啊 附件 : --> 2021-06-24 添加评论 免费帖 --> 分享 微博 QZ...
来源: Laya_社区 发布时间: 20210624
...ide编辑模式中使用 运行demo 按F12 生成 代码如下/**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ import SceneBase from '../SceneBase' import View=Laya.View; import Dialog=Laya.Dialog; var REG: Function = Laya.ClassUtils.regClass; expor...
来源: Laya_社区 发布时间: 20190418