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

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

41. 关于内置git工具的问题,当我切换到非master分支时,pull按钮就失效了 [ 73%]

...是不是pull按钮就写死了执行git pull,而我需要的是git pull origin develop 这个对于美工跟不友好 2017-05-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 star 赞同来自: 找到方法了...

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

42. Cannot read property 'toDefault' of undefined报错是什么原因 [ 72%]

...ext.LINES, state); // //绘出射线 // this.phasorSpriter3D.line(this.ray.origin.x, this.ray.origin.y, this.ray.origin.z, 1.0, 0.0, 0.0, 1.0, 0, -1, 0, 1.0, 0.0, 0.0, 1.0); // this.phasorSpriter3D.end(); } var Stage = Laya.Stage; var Text = Laya.Text; var Geolocation = Laya.Geolocation; var Positio...

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

43. Sprite3D的克隆(JavaScript-3D基础(JS)-LayaAir3D之精灵) [ 72%]

...D中特有的克隆接口`instantiate`。 ```typescript static instantiate(original, parent = null, worldPositionStays = true, position = null, rotation = null); ``` - original :原始精灵。 - parent:父节点。 - worldPositionStays: 是否保持自身世界变换。 - position:世界位置,worl...

来源: Laya2.0_文档 发布时间: 20210714

44. laya2.0 http 发送请求跨域报错 [ 72%]

...YDYECOKVDYB.pnghttp://gs.mingdikeji.com/passion//system/getVersion' from origin 'file:///C:\Users\pc\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.pnghttp://192.168.50.231:8900' has been blocked by CORS policy: Response to preflight request doesn't pass access control che...

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

45. 关于3d的碰撞检测 [ 72%]

...te3d1MeshCollider.mesh = field.meshFilter.sharedMesh; 检测碰撞: var rayOrigin: Laya.Vector3 = new Laya.Vector3(0, 0, 0); //射线原点 //根据角色位置计算射线原点 Laya.Vector3.add(this.ownerSprite.transform.position, new Laya.Vector3(speedX, 1, speedZ), rayOrigin); //射线原点位...

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

46. Sprite3D的克隆(TypeScript-3D基础(TS)-LayaAir3D之精灵) [ 72%]

...D中特有的克隆接口`instantiate`。 ```typescript static instantiate(original: Sprite3D, parent: Node = null, worldPositionStays: boolean = true, position: Vector3 = null, rotation: Quaternion = null): Sprite3D; ``` - original :原始精灵。 - parent:父节点。 - worldPositionStays: 是否...

来源: Laya2.0_文档 发布时间: 20210715

47. mac下面更新了laya2.4beta运行chrome黑屏... [ 71%]

...code的tasks任务即可..    开始加载各种东西都提示 : from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.     我也根据提示退出chrome进程启动了,没用啊。。...

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

48. 求解关于跨域的具体操作 [ 71%]

求解关于跨域的具体操作 在request header加上Origin 求解下代码的具体操作 初次接触不知道怎么写 之前我个人写的 不知道是不是在这个里面 var xhr = new XMLHttpRequest(); xhr.open("GET",url, true) xhr.setRequestHeader("Accept", "*/*"); xhr.setRequestHeader...

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

49. Sprite3D的克隆(ActionScript-3D基础(AS3)-LayaAir3D之精灵) [ 71%]

...隆接口`instantiate`。 ```typescript public function static instantiate(original: Sprite3D, parent: Node = null, worldPositionStays: Boolean = true, position: Vector3 = null, rotation: Quaternion = null): Sprite3D; ``` - original :原始精灵。 - parent:父节点。 - worldPositionStays: 是否...

来源: Laya2.0_文档 发布时间: 20210715

50. 为什么新建一个项目后,什么都没添加,直接点运行就报错?? [ 71%]

... 'file:///Users/andyzu/Desktop/LayaGame/demo/myLaya/bin/version.json' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. __proto.send @ laya.core.js:23023 laya.core.js:23075 /Users/andyzu/Des...

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