大约有 3,209 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0105 秒)
Laya_社区(2484) Laya3.0_api(201) Laya2.0_文档(169) Laya2.0_api(98) laya_api(84) Laya3.0_文档(73) Laya_示例(69) Laya2.0_示例(31)
...= 8080; let IP: string = "127.0.0.1"; export class NetSocket extends Laya.Socket{ private static _instance: NetSocket; public static get instance(): NetSocket { if (!NetSocket._instance) { NetSocket._instance = new NetSocket(); ...
来源: Laya_社区 发布时间: 20170602
...倍的增加,如何解决 _proto.room_xinxi=function(){ this.roombg=new Laya.Image($mj.Curr_Game_ImagePath + "hall/room_bg.png"); this.roombg.pos(50,150); this.addChild(this.roombg); var button = new Sprite(); button.loadImage($mj.Curr_Game_ImagePath + "hall/room_jiesan.png"); button.pos(300, 0); ...
来源: Laya_社区 发布时间: 20170920
...{ ItemBoxBase } from "./ItemBox.generated"; const { regClass, property } = Laya; @regClass() export class Script extends ItemBoxBase { constructor() { super(); } get dataSource(): any { return super.dataSource; } set dataSource(value: any) { super.dataSource = value; if (!value) return; //把数据...
来源: Laya3.0_文档 发布时间: 20251010
...ublic Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/graphics/Vertex/VertexMesh" VertexMesh Class VertexMesh ... author ... Hierarchy VertexMesh Index Properties MESH_BLENDINDICES0 MESH_BLENDWEIGHT0 MESH_COLOR0 MESH_CUSTOME0 MESH_CUSTOME1 MESH_CUSTOME2 MESH_CUSTOME3 MES...
来源: Laya3.0_api 发布时间: 20231102
...端 试了试 不行,添加后 微信开发工具 报错黑屏 提示 laya is not defined 真机上直接 小游戏自带默认加载100% 卡死 获得子域 sharedCanvas get_canvas_4_code(code,page) { var openDataContext = wx.getOpenDataContext(); var sharedCanvas = openDataContext.canvas; ...
来源: Laya_社区 发布时间: 20181217
...antCollection负责作为ShaderVariantCollection进行记录,只有通过Laya.Shader3D.debugMode = true;开启了Shader调试,Shader3D.debugShaderVariantCollection才会进行记录。在跑一遍游戏之后,开发者可以将收集到的数据(记录在Shader3D.debugShaderVariantCollection...
来源: Laya2.0_文档 发布时间: 20210714
分享 Laya ts版,使用jasmine进行单元测试 使用的Laya ts 1.7.22类库, typescript 3.2.2, npm 5.5.1 1 创建package.json{ "scripts": { "test": "jasmine-ts --config=jasmine.json" } } 2 安装jasmine及所需其他库,打开命令行,在项目根目录下npm i -D jasmine jasmine-ts...
来源: Laya_社区 发布时间: 20181214
...es No Frames CharacterControllerProperties | Methods | Constants Packagelaya.d3.physicsClasspublic class CharacterControllerInheritanceCharacterController PhysicsComponent Component Object CharacterController 类用于创建角色控制器。 Public Properties Hide Inherited Public Properties Sho...
来源: Laya2.0_api 发布时间: 20190513
... 实现效果如下: 主要实现代码如下: package view { import laya.events.Event; import laya.utils.Browser; import ui.test.HtmlPageUI; public class HtmlView1 extends HtmlPageUI { private var str:String; private var str2:String; private var isSend:Boolean=false; public function HtmlView1()...
来源: Laya_社区 发布时间: 20170107
...但是当我点击到[开始]按钮的位置的时候,我的这个new LayaAir3D()又被执行了一次。导致场景中的地形被重复添加组件。 我想知道,为什么这里没有关闭Scene,而我的页面仍然被隐藏了呢。 2020-05-05 0 0 分享 微博 QZONE 微信 为什么...
来源: Laya_社区 发布时间: 20200505