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

大约有 962 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0064 秒)

561. laya.net.HttpRequest_API3.0 [ 58%]

...ed Externals Only exported Menu Globals "laya/net/HttpRequest" HttpRequest Class HttpRequest HttpRequest 通过封装 HTML XMLHttpRequest 对象提供了对 HTTP 协议的完全的访问,包括做出 POST 和 HEAD 请求以及普通的 GET 请求的能力。 HttpRequest 只提供以异步的形式...

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

562. 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

563. 类未找到方法 [ 58%]

类未找到方法 public class Welcome extends welcomeUI { public function Welcome() { requestData(); } private function requestData():void{ RequestConfig.instance.getRequestConfig(String(0), requestCallback); } private function requestCallback(success:Boolean):void { if(success) { loadingRes(); }...

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

564. 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

565. 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

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

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

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

567. laya.utils.Tween_API3.0 [ 58%]

...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

568. 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

569. 请教,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

570. 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