大约有 3,031 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0067 秒)
Laya_社区(1088) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(108)
...d Menu Globals "laya/d3/physics/shape/ConeColliderShape" ConeColliderShape Class ConeColliderShape ConeColliderShape 类用于创建圆锥碰撞器。 Hierarchy ColliderShape ConeColliderShape Implements IClone Index Constructors constructor Properties needsCustomCollisionCallback SHAPEORIENTATION_U...
来源: Laya3.0_api 发布时间: 20231115
... Externals Only exported Menu Globals "laya/d3/shader/SubShader" SubShader Class SubShader SubShader 类用于创建SubShader。 Hierarchy SubShader Index Constructors constructor Properties IncludeUniformMap Methods _addShaderPass addShaderPass getFlag setFlag __init__ regIncludeBindUnifrom Object ...
来源: Laya3.0_api 发布时间: 20231102
...erited Externals Only exported Menu Globals "laya/d3/math/Vector2" Vector2 Class Vector2 Vector2 类用于创建二维向量。 Hierarchy Vector2 Implements IClone Index Constructors constructor Properties x y ONE ZERO Methods clone cloneTo forNativeElement fromArray setValue toArray writeTo dot nor...
来源: Laya3.0_api 发布时间: 20231102
...aEditor\renders\custom\ScaleButton.js; 那么ScaleButton.xml->内容: className="component.ScaleButton"。是对的吗 mboat • 2017-09-25 22:14 还有ScaleButton.js,内容:(function(window,document,Laya){ var __un=Laya.un,__uns=Laya.uns,__static=Laya.static,__class=Laya.class,__...
来源: Laya_社区 发布时间: 20170925
...ls "laya/d3/physicsCannon/CannonPhysicsSimulation" CannonPhysicsSimulation Class CannonPhysicsSimulation Simulation 类用于创建物理模拟器。 Hierarchy CannonPhysicsSimulation Index Properties fixedTimeStep maxSubSteps disableSimulation Accessors gravity solverIterations Methods clearForces ...
来源: Laya3.0_api 发布时间: 20231102
...数据源 必须要在代码中给List组件设置数据源。 const { regClass, property } = Laya; @regClass() export class Script extends Laya.Script { @property({ type: Laya.List }) list: Laya.List constructor() { super(); } // 组件被启用后执行,例如节点被添加到舞台后 onEnable...
来源: Laya3.0_文档 发布时间: 20251010
...直接用this改按钮的状态; 问题: 我用JS的时候找了下用class可以实现extends的效果,但不知道怎么写,就是改变不了按钮的状态,请问这块用JS要怎么写呢,我只能写到以下这一步,然后就没方向了(function(){ // Laya.class(ui.GameStartUI...
来源: Laya_社区 发布时间: 20171123
...nherited Externals Only exported Menu Globals "laya/maths/Vector2" Vector2 Class Vector2 Vector2 类用于创建二维向量。 Hierarchy Vector2 Implements IClone Index Constructors constructor Properties x y ONE ZERO Methods clone cloneTo forNativeElement fromArray setValue toArray writeTo dot equ...
来源: Laya3.0_api 发布时间: 20231115
... 保存场景后,在RuntimeScript.ts中添加如下代码: const { regClass } = Laya; import { RuntimeScriptBase } from "./RuntimeScript.generated"; @regClass() export class RuntimeScript extends RuntimeScriptBase { onAwake(): void { this.closeBtn.on(Laya.Event.CLICK, this, () => { this.close...
来源: Laya3.0_文档 发布时间: 20251024
API DocumentationAll Packages | All Classes | Index | Frames No Frames ConeShapeProperties | Methods Packagelaya.d3.core.particleShuriKen.module.shapeClasspublic class ConeShapeInheritanceConeShape BaseShape Object ConeShape 类用于创建锥形粒子形状。 Public Properties Hide Inheri...
来源: laya_api 发布时间: 20170929