大约有 2,995 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0171 秒)
Laya_社区(1062) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(107)
...,有没有遇到的? 子域所有代码 (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
...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
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
...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
API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexShuriKenParticleMethods | Constants Packagelaya.d3.graphics.VertexClasspublic class VertexShuriKenParticleInheritanceVertexShuriKenParticle ObjectSubclasses VertexShurikenParticleBillboard, VertexShurikenParticleMe...
来源: Laya2.0_api 发布时间: 20190513
...、打开状态。 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
...默认生成的程序入口文件,新建一个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
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
API DocumentationAll Packages | All Classes | Index | Frames No Frames RopeJointProperties | Methods Packagelaya.physics.jointClasspublic class RopeJointInheritanceRopeJoint JointBase Component Object 绳索关节:限制了两个点之间的最大距离。它能够阻止连接的物体之...
来源: Laya2.0_api 发布时间: 20190513
...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