大约有 2,104 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0076 秒)
Laya_社区(1962) laya_api(36) Laya3.0_api(29) Laya2.0_文档(25) Laya3.0_文档(22) Laya2.0_api(20) Laya_示例(5) Laya2.0_示例(5)
...使用proto中定义的enum? type.proto enum e_server_msg_type { e_mst_start_c2g = 300; e_mst_c2g_heartbeat = 301; //心跳协议 e_mst_c2g_select_gate = 302; //选择网关 e_mst_start_g2c = 400; e_mst_g2c_select_gate_result = 401;//选择网关返回 e_mst_g2c_send_msglist = 402;//发送协议...
来源: Laya_社区 发布时间: 20170817
...使用proto中定义的enum? type.proto enum e_server_msg_type { e_mst_start_c2g = 300; e_mst_c2g_heartbeat = 301; //心跳协议 e_mst_c2g_select_gate = 302; //选择网关 e_mst_start_g2c = 400; e_mst_g2c_select_gate_result = 401;//选择网关返回 e_mst_g2c_send_msglist = 402;//发送协议...
来源: Laya_社区 发布时间: 20170911
按钮拖动的bug startDrag这接口有这样一个参数说明: * @param elasticDistance (可选)橡皮筋效果的距离值,0为无橡皮筋效果,默认为0,可选。 但事实上,不管是不是显式写上默认值0,就都拖不了了。研究发现,这根本就是能拖动...
来源: Laya_社区 发布时间: 20180703
...:15] Using gulpfile D:\workspace\Test_2_5_1\.laya\compile.js [16:24:15] Starting 'layacompile'... [16:24:16] Finished 'layacompile' after 634 ms [16:24:16] Starting 'compile'... [16:24:16] 'compile' errored after 23 ms [16:24:16] Error: Invalid number at error (D:\tools\LayaAirIDE_beta2....
来源: Laya_社区 发布时间: 20200311
... 十六 • 2019-02-27 15:12 按了的,按了bin文件夹下才生成了Start.json以及ui文件夹下的StartUI文件,就是没有报错里面提示的bin路径下的Start.scene文件。而且打开场景用的是Scene.open("场景名.json")方法而不是Scene.open("场景名&qu...
来源: Laya_社区 发布时间: 20190227
...aya_Aaron 赞同来自: 题主找到原因, 不是调速度 是调整了 Start Lifetime 以后速度就变了。。。 结帖。 2018-06-21 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 这个序列帧播放速度可以调整的。 2018-06-21 0 3 分享 微博 QZONE 微信 为什么被...
来源: Laya_社区 发布时间: 20180621
... : AnimationPlayer[read-only] 获取动画播放器。 KeyframeAnimations started : Boolean是否已执行start函数。Component3D templet : AnimationTemplet 获取动画模板。 KeyframeAnimations url : String[write-only] 设置url地址。 KeyframeAnimationsProtected Properties Hide Inherited...
来源: laya_api 发布时间: 20170603
...vate _chain; } /**开始游戏,通过激活本脚本方式开始游戏*/ startGame(): void { if (!this._started) { this._started = true; this.enabled = true; } var ground=this.owner.getChildByName("ground"); //****新增代码*****, ground.addComponent(Laya.ChainCollider); ...
来源: Laya_社区 发布时间: 20181130
... : AnimationPlayer[read-only] 获取动画播放器。 KeyframeAnimations started : Boolean是否已执行start函数。Component3D templet : AnimationTemplet 获取动画模板。 KeyframeAnimations url : String[write-only] 设置url地址。 KeyframeAnimationsProtected Properties Hide Inherited...
来源: laya_api 发布时间: 20170603
...RCLE_WIDTH: number = 20 public $circleSprite: Sprite = new Sprite() public startY: number = -90 constructor() { super() this._init() } private _init() { this.cacheAs = "bitmap" this.size(this.DEF_SIZE,this.DEF_SIZE) this.pos(200,200) this.cacheAs = "bitmap" this.graphics.drawPie(this.DEF_SIZE >&g...
来源: Laya_社区 发布时间: 20180123