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

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

561. laya.d3.renderobjs.nativeobj.NativeRenderState_API3.0 [ 58%]

...Globals "laya/d3/RenderObjs/NativeOBJ/NativeRenderState" NativeRenderState Class NativeRenderState Hierarchy NativeRenderState Index Constructors constructor Properties _nativeObj Accessors blend blendEquation blendEquationAlpha blendEquationRGB cull depthTest depthWrite dstBlend dstBlendAlpha dstBl...

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

562. laya.components.CommonScript_API3.0 [ 58%]

...als Only exported Menu Globals "laya/components/CommonScript" CommonScript Class CommonScript CommonScript 类用于创建公共脚本类。 Hierarchy Component CommonScript Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath Accessors awaked destroyed enabled hi...

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

563. Laya2.0 动画Animator如何监听播放完成 [ 58%]

...ript   import AnimationDefine from "../AnimationDefine";  export default class AttackState extends Laya.AnimatorStateScript {  animator:Laya.Animator;  onStateEnter(): void {  }  onStateExit(): void { if(this.animator) { this.animator.crossFade(AnimationDefine.IDLE,0.5,0,0); } }  onStateUpdat...

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

564. Runtime照着视频做运行不了,求解 [ 58%]

Runtime照着视频做运行不了,求解 export default class TextInputExt extends Laya.TextInput{ constructor() { super(); } } 脚拖到runtime那里,结果运行提示找不到脚本 附件 : --> 2019-01-21 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

565. graphics绘制报错 [ 58%]

graphics绘制报错 class Sprite_DisplayImage { constructor() { Laya.init(Laya.Browser.clientWidth, Laya.Browser.clientHeight, Laya.WebGL); const path = "./res/apes/monkey2.png"; Laya.loader.load(path, Laya.Handler.create(this, function() { let tex = Laya.loader.getRes(path); let sp = new Laya.Spr...

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

566. laya.utils.Tween_API3.0 [ 57%]

...ll Inherited Externals Only exported Menu Globals "laya/utils/Tween" Tween Class Tween Tween 是一个缓动类。使用此类能够实现对目标对象属性的渐变。 Hierarchy Tween Index Properties repeat update Accessors progress Methods clear complete from pause recover restart resume setSt...

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

567. 请教,namspace 定义后,怎么使用里面的类 [ 57%]

...空间方式,换成module后依然不行。   namespace Test { export class TestOne { Show(){ alert("调用成功!"); } } } Main.Ts ConfigLoaded 函数 onConfigLoaded(): void {                  var testOne=new Test.TestOne();//失败 未找到Test.TestOne         testOne...

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

568. 插件开发说明 · LayaAir3.0文档 · LAYABOX [ 57%]

...t中使用本地能力 下面是一个推荐做法: //Script.ts @Laya.regClass() class Script extends Laya.Script { wantToUseNode() { EditorEnv.scene.runScript("TestSceneScript.visitNode"); } } //TestSceneScript.ts import fs from "fs"; //注意是IEditorEnv.regClass,不是Laya.regClass!! @IEdito...

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

569. as3字符串截取int的问题 [ 57%]

...报错Uncaught ReferenceError: int is not defined function DConfig(){}; __class(DConfig,'DConfig'); __getset(1,DConfig,'GamrRoomEnterPower',function(){ return DConfig.gamrRoomEnterPower; },function(value){ DConfig.gamrRoomEnterPower=value; console.log(DConfig.gamrRoomEnterPower.length); console.log(...

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

570. laya.physics.joint.JointBase_API3.0 [ 57%]

...ernals Only exported Menu Globals "laya/physics/joint/JointBase" JointBase Class JointBase 关节基类 Hierarchy Component JointBase DistanceJoint GearJoint MotorJoint MouseJoint PrismaticJoint PulleyJoint RevoluteJoint WeldJoint WheelJoint Index Constructors constructor Properties _extra _singleto...

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