大约有 1,557 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0059 秒)
Laya_社区(551) Laya3.0_api(360) Laya2.0_api(247) laya_api(208) Laya2.0_文档(120) Laya3.0_文档(69) Laya2.0_示例(2)
API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexParticleShurikenProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexParticleShurikenInheritanceVertexParticleShuriken ObjectImplements IVertex VertexPositionNormalColorTangent 类用于创建粒子...
来源: laya_api 发布时间: 20170422
...DIE = "floor_out_die"; //Floor 是一个显示对象 继承此 Sprite Laya.class(Floor, "Floor", laya.display.Sprite); var _proto = Floor.prototype; /** * type int 1->地板默认宽度 other->随机宽度 */ _proto.init = function(type){ this.maxRight = 0; //如果不开启autoSize 父容器...
来源: Laya_社区 发布时间: 20160801
...生点与传送点)等需求。 代码设置示例如下: 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
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
...会有突然掉帧的现象,fast模式和slow模式都有这个问题 class Scene_Test { constructor() { super(); Laya.timer.frameLoop(1,this,this.update); } private update() { let dt = Laya.timer.delta / 1000; console.log("dt="+dt); } } 附件中图1是在iphone6上面运行打印的信息,...
来源: Laya_社区 发布时间: 20180808
....utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class GraCmdsDemo { public function GraCmdsDemo() { //初始化舞台 Laya.init(Browser.width,Browser.height,WebGL); //预加载资源 Laya.loader.load(['apes/monkey0.png','apes/monkey1.png','apes/monkey2.png','apes/monkey3.p...
来源: Laya_社区 发布时间: 20170519
...ly exported Menu Globals "laya/components/AnimatorState2D" AnimatorState2D Class AnimatorState2D Animator 类用于创建动画组件。 Hierarchy EventDispatcher AnimatorState2D Implements IClone Index Properties clipEnd clipStart cycleOffset loop name speed yoyo Accessors clip Methods addScript cl...
来源: Laya3.0_api 发布时间: 20231115
...示分数的界面,比如我写了A.ui文件,自动生成一个ts类,class A extends ui.AUI,但是这个ui命名空间并不存在,如果我手动改成extends Laya.View(.ui文件里用的View标签),那么我如何让这个类去使用这个.ui文件呢?就像eui里指定skin一样...
来源: Laya_社区 发布时间: 20180323
...有通过一个类的名字(字符串)来获取该类的方法?类似get class by name 3D项目里有没有类似2DTween的实现 希望加入类似Pixi.js的多纹理寄存器支持 问题状态 最新活动: 2017-07-09 10:58 浏览: 944 关注: 2 人
来源: Laya_社区 发布时间: 20170708
...et_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) LayaExport.DataManager.saveLaniData (UnityEngine.GameObject gameObject, .JSONObject obj) 2019-01-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20190116