大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0061 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
...响事件的触发这里是随便取的名。 ```typescript export default class SceneScript extends Laya.Script3D { constructor(){ super(); //用于表现的方法 this.showMsgFunc = null; } //对应unity添加的AnimationEvent的动画事件函数,名字是可以对应上的 ShowMsg() { console....
来源: Laya2.0_文档 发布时间: 20210715
...添加如下的示例代码,实现脚本控制RadioGroup: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.RadioGroup }) public radiogroup: Laya.RadioGroup; //组件被激活后执行,此时所有节点和组件均已创建完...
来源: Laya3.0_文档 发布时间: 20240910
API DocumentationAll Packages | All Classes | Index | Frames No Frames RectangleProperties | Methods | Constants Packagelaya.mathsClasspublic class RectangleInheritanceRectangle Object Rectangle 对象是按其位置(由它左上角的点 (x, y) 确定)以及宽度和高度定义的区...
来源: laya_api 发布时间: 20170929
...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
... 请问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
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
...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
...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
...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
...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