• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 197 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0066 秒)

191. 关于使用Idea以及Linux下使用AS语言开发的一点经验 [ 39%]

...),下面的工作路径填$ProjectFileDir$。你还可以给这个定义工具设置快捷键,恕不细表。 如果只是想尝试idea的windows用户可以就此止步了,谢谢!   如果和我一样是Linux用户(虽然可能根本没有……),可以继续看我下面蛋疼的折...

来源: Laya_社区 发布时间: 20170418

192. 按钮组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 36%]

...要用到脚本了。在Scene2D的属性设置面板中,增加一个定义组件脚本。然后,将Button组件拖入到其暴露的属性入口中。在脚本文件中添加如下示例代码: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @pr...

来源: Laya3.0_文档 发布时间: 20251010

193. 场景管理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 36%]

...秒。 例如要打开一个新场景,使用加载页面,那么就先定义一个脚本代码,加入可能拖入loading场景的Laya.Prefab属性,代码如下: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @pr...

来源: Laya3.0_文档 发布时间: 20251010

194. LayaAirNative初始化的4个问题 [ 34%]

...过大的问题 我这样载入场景问题出现在哪呢?? event定义事件的问题 问题状态 最新活动: 2018-07-01 19:38 浏览: 2174 关注: 5 人 helloworldlv • 2018-07-02 11:14 发邮箱 775331175@qq.com 还有手机型号信息 谢谢 Laya_Aaron • 2018-06-28 15:27 系统版...

来源: Laya_社区 发布时间: 20180627

195. 【简单跑酷--JS版】---Lv.3 添加地板 [ 33%]

...象 继承此 Sprite Laya.class(RunGame,"RunGame", laya.display.Sprite); //定义RunGame的prototype var _proto = RunGame.prototype; //初始化 _proto.init = function(){ console.log('RunGame Init'); //添加背景 var bg = new Background(); this.addChild(bg); //添加地板集合 var mapFloor = new...

来源: Laya_社区 发布时间: 20160728

196. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 27%]

...ar temp:IA = <IA>item;  items.push(temp); } 5.get,set ts里面父类定义的getset,子类必须要全覆盖下,不能只处理get或set,如: class A {  protected _id:number = 1;    public get id():number { return this._id }  public set id(value:number){     this._id = vaule;  } ...

来源: Laya_社区 发布时间: 20161109

197. laya.d3.core.scene.Scene3D_API3.0 [ 18%]

...tomRenderEnable Defined in laya/display/Sprite.ts:327 设置是否开启定义渲染,只有开启定义渲染,才能使用customRender函数渲染。 Parameters b: boolean Returns void destroyed get destroyed(): boolean Inherited from Node.destroyed Defined in laya/display/Node.ts:92 是...

来源: Laya3.0_api 发布时间: 20231115