大约有 3,041 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0082 秒)
Laya_社区(1094) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(112)
...生点与传送点)等需求。 代码设置示例如下: const { regClass, property } = Laya; @regClass() export default class DirectMove extends Laya.Script { declare owner: Laya.Sprite3D; private characterController: Laya.CharacterController; onAwake(): void { // 获取 角色控制器 组件...
来源: Laya3.0_文档 发布时间: 20251010
...= Laya.Browser; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class Skeleton_SpineVine { private mAniPath:string; private mStartX:number = 200; private mStartY:number = 500; private mFactory:Templet; private mActionIndex:number = 0; private mCurrIndex:number = 0; private mArmature:Skele...
来源: Laya_示例 发布时间: 20260303
API DocumentationAll Packages | All Classes | Index | Frames No Frames ShurikenParticleRendererProperties | Methods Packagelaya.d3.core.particleShuriKenClasspublic class ShurikenParticleRendererInheritanceShurikenParticleRenderer BaseRender EventDispatcher Object ShurikenParticleRender 类...
来源: Laya2.0_api 发布时间: 20190513
...= Laya.Browser; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class Skeleton_SpineStretchyman { private mAniPath:string; private mStartX:number = 200; private mStartY:number = 500; private mFactory:Templet; private mActionIndex:number = 0; private mCurrIndex:number = 0; private mArmatur...
来源: Laya_示例 发布时间: 20260303
....Browser; import Handler = Laya.Handler; import Event = Laya.Event; export class InputDevice_Shake { private picW:number = 484; private picH:number = 484; private console:Text; private shakeCount:number = 0; constructor() { Laya.init(this.picW, Browser.height * this.picW / Browser.width); Laya.stage...
来源: Laya_示例 发布时间: 20260303
...rited Externals Only exported Menu Globals "laya/components/Widget" Widget Class Widget 相对布局插件 Hierarchy Component Widget Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath EMPTY Accessors awaked bottom centerX centerY destroyed enabled hideFlags id ...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames SkinnedMeshRendererProperties | Methods Packagelaya.d3.coreClasspublic class SkinnedMeshRendererInheritanceSkinnedMeshRenderer MeshRenderer BaseRender EventDispatcher Object SkinMeshRenderer 类用于蒙皮渲染器。 P...
来源: Laya2.0_api 发布时间: 20190513
...All Inherited Externals Only exported Menu Globals "laya/ui/Widget" Widget Class Widget 相对布局插件 Hierarchy Component Widget Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath EMPTY Accessors awaked bottom centerX centerY destroyed enabled hideFlags id ...
来源: Laya3.0_api 发布时间: 20231102
...aya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_Restrict { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 300, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SH...
来源: Laya_示例 发布时间: 20260303
...需要添加如下的示例代码,实现脚本控制Panel: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Panel }) public panel: Laya.Panel; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方...
来源: Laya3.0_文档 发布时间: 20251010