大约有 2,129 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0060 秒)
...cy: 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 动画混合无效(版本2.6) 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 求助关于TiledMap的版本问题 ui list 里面的元素...
来源: Laya_社区 发布时间: 20190419
...e : TextFilePatchTools.py # @Date : 2017-03-14 18:45 # @Author : DebuggerX import sys import shutil def readcontentfromfile(filepath, backuporiginalfile=True): editfile = open(filepath, "r") content = editfile.read() editfile.close() if backuporiginalfile: shutil.copy(filepath, filepath + ".bak") re...
来源: Laya_社区 发布时间: 20170418
...ug? 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 问题状态 最新活动: 2018-03-16 14:43 浏览: 799 关注: 2 人 qian • 2018-03-16 11:57 但是这个是不可能没有回调的 官网的例子都可以跑通的 不管怎么样也会有error事...
来源: Laya_社区 发布时间: 20180315
...API 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译。 微信小程序canvas如何使用layaAir引擎 关于逻辑贞更新间隔机制、时间和其...
来源: Laya_社区 发布时间: 20180525
...调整,使其满足列表渲染所需的格式。 示例代码如下: import { ItemBoxBase } from "./ItemBox.generated"; const { regClass, property } = Laya; @regClass() export class Script extends ItemBoxBase { constructor() { super(); } get dataSource(): any { return super.dataSource; } set da...
来源: Laya3.0_文档 发布时间: 20251010
...请: 与内容相关的链接 提交 5 个回复 Laya_Aaron 赞同来自: import { ui } from "./../ui/layaMaxUI"; /** * 本示例采用非脚本的方式实现,而使用继承页面基类,实现页面逻辑。在IDE里面设置场景的Runtime属性即可和场景进行关联 * 相比脚本方...
来源: Laya_社区 发布时间: 20181227
...作这些数据。 完整示例代码如下: const { regClass } = Laya; import Socket = Laya.Socket; import Event = Laya.Event; @regClass() export class ArrayBufferSocketDemo extends Laya.Script { private socket: Socket; onEnable(): void { this.socket = new Socket(); this.socket.connectByUrl("wss:...
来源: Laya3.0_文档 发布时间: 20251010
...) 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 问题状态 最新活动: 2019-03-13 19:55 浏览: 6944 关注: 8 人 林继衍 • 2019-02-22 21:35 您好,复现demo已经上传在下面。另外还有一个问题就是,2.0正式版的2D官方de...
来源: Laya_社区 发布时间: 20181106
...题 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 请问如何让textinput组件输入密码的时候显示*号? 请问layaair2.0-js 怎么用程序在list中添加多元素的item List滑动条会引起单元格上的按钮点击后多次触发点击...
来源: Laya_社区 发布时间: 20180312
...面这两个TS代码: //MyScript.ts const { regClass, property } = Laya; import Animal from "./Animal"; @regClass() export class MyScript extends Laya.Script { @property({ type : Animal }) animal : Animal; } //Animal.ts const { regClass, property } = Laya; @regClass() export default class Animal {...
来源: Laya3.0_文档 发布时间: 20251010