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

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

1051. Laya2.2问题,有没有遇到的? [ 69%]

...,有没有遇到的? 子域所有代码 (function () { 'use strict';  class GameConfig { constructor() { } static init() { var reg = Laya.ClassUtils.regClass; } } GameConfig.width = 640; GameConfig.height = 1136; GameConfig.scaleMode = "fixedwidth"; GameConfig.screenMode = "none"; GameConfig.al...

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

1052. 文本-字数限制 [ 69%]

...ya.Stage; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_MaxChars { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya...

来源: Laya_示例 发布时间: 20251219

1053. laya.components.CommonScript [ 69%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames CommonScriptProperties | Methods Packagelaya.componentsClasspublic class CommonScriptInheritanceCommonScript Component Object CommonScript 类用于创建公共脚本类。 Public Properties Hide Inherited Public Propert...

来源: Laya2.0_api 发布时间: 20190513

1054. TypeError: Cannot read property 'GetType' of null [ 69%]

...t TypeError: Cannot read property 'props' of undefined Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 构建APP Android Studio打出的APK 报apploader.js:4515 TypeError: addGlobalValueDefine is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constru...

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

1055. laya.d3.graphics.Vertex.VertexShuriKenParticle [ 69%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexShuriKenParticleMethods | Constants Packagelaya.d3.graphics.VertexClasspublic class VertexShuriKenParticleInheritanceVertexShuriKenParticle ObjectSubclasses VertexShurikenParticleBillboard, VertexShurikenParticleMe...

来源: Laya2.0_api 发布时间: 20190513

1056. UI-Tree [ 69%]

...、打开状态。 arrow.x = 0; arrow.y = 5; this.addChild(arrow); } Laya.class(Item, "Item", Box); var Stage = Laya.Stage; var Tree = Laya.Tree; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400...

来源: Laya_示例 发布时间: 20251219

1057. 一个很奇怪的问题,不知道其他同学遇到没有 [ 69%]

...默认生成的程序入口文件,新建一个main.ts,输入以下代码: class main{ constructor(){ Laya.init(600,400); console.log(common.num); } } new main();   这里面访问了另外一个文件common.ts中定义的类: class common{ constructor(){ } public static num : number = 1000000; } ...

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

1058. laya.d3.physics.PhysicsTriggerComponent [ 69%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames PhysicsTriggerComponentProperties | Methods Packagelaya.d3.physicsClasspublic class PhysicsTriggerComponentInheritancePhysicsTriggerComponent PhysicsComponent Component ObjectSubclasses PhysicsCollider, Rigidbody3D Physi...

来源: Laya2.0_api 发布时间: 20190513

1059. laya.physics.joint.RopeJoint [ 69%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames RopeJointProperties | Methods Packagelaya.physics.jointClasspublic class RopeJointInheritanceRopeJoint JointBase Component Object 绳索关节:限制了两个点之间的最大距离。它能够阻止连接的物体之...

来源: Laya2.0_api 发布时间: 20190513

1060. laya.d3.renderobjs.nativeobj.NativeSkinRenderElementOBJ_API3.0 [ 69%]

...enderObjs/NativeOBJ/NativeSkinRenderElementOBJ" NativeSkinRenderElementOBJ Class NativeSkinRenderElementOBJ Hierarchy NativeRenderElementOBJ NativeSkinRenderElementOBJ Implements IRenderElement Index Constructors constructor Properties _nativeObj _owner _shaderInstances _skinnedData Accessors _geome...

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