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

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

581. laya.utils.Utils_API3.0 [ 50%]

...NaN,这里返回0。 Parameters str: string 要被解析的字符串。 Default value radix: number = 0 表示要解析的数字的基数。默认值为0,表示10进制,其他值介于 2 ~ 36 之间。如果它以 “0x” 或 “0X” 开头,将以 16 为基数。如果该参数不在上述...

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

582. Laya.loader.load(xx) 当地址""的时候,会报错。 [ 49%]

...          break;                         default: {                             console.error('unknown format', ext);                             return;                         }  ...

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

583. Native 在iOS上支付失败的问题,及临时解决方法 [ 49%]

...果官方文档(链接)中有明确提示 requestData参数:  The default value is nil. If requestData is not nil, your payment request will be rejected. --默认值为nil,如果requestData不是nil,您的支付请求将被拒绝。 目前我的解决方法是注释掉payment.requestData ...

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

584. laya.d3.core.render.ScreenTriangle_API3.0 [ 49%]

...Resource._addReference Defined in laya/resource/Resource.ts:203 Parameters Default value count: number = 1 Returns void _clearReference _clearReference(): void Inherited from Resource._clearReference Defined in laya/resource/Resource.ts:220 Returns void _removeReference _removeReference(count?: numb...

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

585. libwebsocket [ 49%]

...SSL library init [2018/08/21 11:20:31:5576] NOTICE: Creating Vhost 'default' port -1, 1 protocols, IPv6 on [2018/08/21 11:20:31:5597] NOTICE: lws_context_init_client_ssl: doing cert filepath 2018-08-21 11:20:31.559954+0800 game_hao[6707:3937898]  requestLogin.............23838...

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

586. Spine渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 49%]

..."spine4.1/role.json"; // 设置Spine动画数据源 this.spine.skinName = "default"; // 设置皮肤名称 this.spine.play("att", true); // 播放名称为"att"的攻击动画,true表示循环播放 this.btn.on(Laya.Event.CLICK, this, this.changeAttachment); //监听点击事件,触发切换武...

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

587. Laya3D场景加载问题 [ 49%]

...场景加载问题 测试内容:加载3D场景   代码如下: export default class TestUI extends ui.test.TestSceneUI {     private resource: Array<String> = [         "gate/Conventional/Test.ls",     ];     constructor() { super(); }     onAwake(): void {         Laya.lo...

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

588. 这种进度条怎么实现? [ 49%]

...ZONE 微信 Barry Allen 赞同来自:  import Sprite = Laya.Sprite export default class Test extends Sprite{ public DEF_SIZE: number = 200 public CIRCLE_WIDTH: number = 20 public $circleSprite: Sprite = new Sprite() public startY: number = -90 constructor() { super() this._init() } private _init() ...

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

589. 为什么创建的脚本 变量在编辑模式赋值后 运行时为undfined [ 49%]

...名的无头像者 • 2018-10-24 18:14 写一个ts文件,写上 export default class Move extends Laya.Script{ /** @prop {name:target,tips:"目标容器",type:Prefab}*/ targetPrefab:Laya.Prefab; } 将文件在编辑模式下赋给点添加组件=》code=》move 然后创建一个box拖...

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

590. Laya_API3.0 [ 49%]

...gJsPath?: string): void Defined in Laya.ts:269 开启DebugPanel Parameters Default value debugJsPath: string = "libs/laya.debugtool.js" laya.debugtool.js文件路径 Returns void Static init init(stageConfig?: IStageConfig): Promise<void> init(width: number, height: number, ...plugins: any[]):...

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