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

大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0061 秒)

2021. 在Unity中设置动画事件(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 53%]

...响事件的触发这里是随便取的名。 ```typescript export default class SceneScript extends Laya.Script3D { constructor(){ super(); //用于表现的方法 this.showMsgFunc = null; } //对应unity添加的AnimationEvent的动画事件函数,名字是可以对应上的 ShowMsg() { console....

来源: Laya2.0_文档 发布时间: 20210715

2022. 单选框组组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 53%]

...添加如下的示例代码,实现脚本控制RadioGroup: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.RadioGroup }) public radiogroup: Laya.RadioGroup; //组件被激活后执行,此时所有节点和组件均已创建完...

来源: Laya3.0_文档 发布时间: 20240910

2023. laya.maths.Rectangle [ 53%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames RectangleProperties | Methods | Constants Packagelaya.mathsClasspublic class RectangleInheritanceRectangle Object Rectangle 对象是按其位置(由它左上角的点 (x, y) 确定)以及宽度和高度定义的区...

来源: laya_api 发布时间: 20170929

2024. 动画-新版骨骼动画 [ 53%]

...ombieAnimator.play(clipName[++curStateIndex % clipName.length]); }); })); }class SkinAnimation_New { private changeActionButton: Laya.Button; private zombieAnimator: Laya.Animator; private curStateIndex: number = 0; private clipName: Array = ["walk", "attack", "left_fall", "right_fall", "back_fall"]...

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

2025. alertexception info: [Typeerror: null is not object (evaluating this. vaoext createvertexarrayoes"] [ 52%]

... 请问object层中添加的sprite怎么添加点击事件 Warning!,this class[MiniAdpter] already exist: Object {init: } Cannot read property 'displayObject' of null 遍历子对象的时候多出两个null A B两物体触发时会报null 跳转场景后laya.core.js就报Cannot read property 'width...

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

2026. laya.d3.core.BaseCamera [ 52%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames BaseCameraProperties | Methods | Events | Constants Packagelaya.d3.coreClasspublic class BaseCameraInheritanceBaseCamera Sprite3D Node EventDispatcher ObjectSubclasses Camera BaseCamera 类用于创建摄像机的父...

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

2027. laya.d3.core.render.posteffect.ColorGradEffect_API3.0 [ 52%]

...u Globals "laya/d3/core/render/PostEffect/ColorGradEffect" ColorGradEffect Class ColorGradEffect ColorGradEffect 类用于创建调色Effect Hierarchy PostProcessEffect ColorGradEffect Index Constructors constructor Properties _lutTex SHADERDEFINE_ACES SHADERDEFINE_CUSTOMLUT SHADERVALUE_CUSTOMLUT SH...

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

2028. 求助高手请进,关于场景导入的问题~ [ 52%]

...scene1:GameScene = new GameScene(); Laya.stage.addChild(scene1);   public class GameScene extends Scene {    public function GameScene()    {       Laya.loader.create("LayaScene_01/loveScene.ls",Handler.create(this,this.completeHandler));    }          private function completeHandle...

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

2029. warning:Laya.timer.once This variable is not defined. [ 52%]

...ined. file:////Users/qykings/work/layaGame/src/view/game/logic/actors/actorClass/LocalPlayer.as (2000):warning:Laya.timer.once This variable is not defined.   更新到"1.7.16" mac layaAir 有这问题    win没有   好尴尬   2018-03-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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

2030. Mesh网格-自定义网格 [ 52%]

...0.25, 1))); capsule.transform.position = new Laya.Vector3(-1.5, 0.5, 0.6); class CustomMesh { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene: Laya.Scene = Laya.stage.addChild(new Laya....

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