大约有 1,112 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0051 秒)
Laya_社区(423) Laya3.0_api(324) Laya2.0_api(157) laya_api(90) Laya2.0_文档(47) Laya_示例(32) Laya3.0_文档(25) Laya2.0_示例(14)
...Handler=laya.utils.Handler; import Loader=laya.net.Loader; // 程序入口 class GameMain { constructor() { Laya.init(600, 400); Laya.stage.scaleMode = Laya.Stage.SCALE_EXACTFIT; Laya.stage.screenMode = Laya.Stage.SCREEN_VERTICAL; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya...
来源: Laya_社区 发布时间: 20171227
...ternal (System.String path) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/Directory.cs:131) System.IO.Directory.CreateDirectory (System.String path) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/Directory.cs:96) FileUtil.IOManager.saveFile (System.Stri...
来源: Laya_社区 发布时间: 20170508
...ed Externals Only exported Menu Globals "laya/utils/Base64Tool" Base64Tool Class Base64Tool Hierarchy Base64Tool Index Properties chars lookup reg reghead Methods decode encode init isBase64String Properties Static chars chars: string = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789...
来源: Laya3.0_api 发布时间: 20231115
...开发更高效。let bgPath = "res/bg2.png", maskPath = "res/mask.png"; class Sprite_MagnifyingGlass { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.st...
来源: Laya2.0_示例 发布时间: 20241126
API DocumentationAll Packages | All Classes | Index | Frames No Frames MeshColliderProperties | Methods | Events Packagelaya.d3.component.physicsClasspublic class MeshColliderInheritanceMeshCollider Collider Component3D EventDispatcher Object MeshCollider 类用于创建网格碰撞器。 ...
来源: laya_api 发布时间: 20170929
...ere.transform.rotate(new Laya.Vector3(0, 90, 0), false, false); } }); })();class RayPicking02 { private ray: Laya.Ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); private point: Laya.Vector2 = new Laya.Vector2(); private _outHitInfo: Laya.RaycastHit = new Laya.RaycastHit(); ...
来源: Laya_示例 发布时间: 20241126
...Air3]V3.2 | 调试结果不一致,导致无法判断结果? const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { testData = new Laya.Vector3(1, 1, 1); @property(Laya.Camera) camera: Laya.Camera; onStart() { //@ts-ignore window.camer...
来源: Laya_社区 发布时间: 20241029
...ton注册事件不响应 是怎么回事呢 ?可以帮帮我解答下吗 class Item extends Laya.Box{ public static WID: number = 147; public static HEI: number = 190; private skin_progress_chip:Laya.ProgressBar; private skin_img:Laya.Image; private skin_chipNum:Laya.Text; public skin_btn_use:Laya...
来源: Laya_社区 发布时间: 20180828
...rted Menu Globals "laya/d3/component/Animator/AnimatorState" AnimatorState Class AnimatorState AnimatorState 类用于创建动作状态。 Hierarchy EventDispatcher AnimatorState Implements IClone Index Constructors constructor Properties _isLooping clipEnd clipStart curTransition cycleOffset name ...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames ScriptProperties | Methods Packagelaya.componentsClasspublic class ScriptInheritanceScript Component Object Script 类用于创建脚本的父类,该类为抽象类,不允许实例。 组件的生命周期 Public Pro...
来源: Laya2.0_api 发布时间: 20190513