简体   繁体   English

Firebase for Unity3d Windows 应用程序

[英]Firebase for Unity3d Windows application

我制作了一个使用 firebase SDK 的应用程序(android / IOS),它在我构建 IOS 或 Android 时运行良好,现在我想将它构建到 Windows 应用程序 firebase 它不再工作但它在统一编辑器 Android 中工作, IOS 是否 Firebase SDK 与 windows application unity 一起工作,或者它只与 IOS/Android 一起工作,请提供任何建议!

Take a look at the documentation's comment on Desktop support, https://firebase.google.com/docs/unity/setup#available-libraries-desktop查看文档对桌面支持的评论, https://firebase.google.com/docs/unity/setup#available-libraries-desktop

Which means some products work on desktop builds, others are just empty classes allowing you to build same project without errors.这意味着一些产品可以在桌面构建上运行,而其他产品只是空类,允许您构建相同的项目而不会出错。

I tried firebase desktop builds, in my experience the mac build had problems a windows desktop build didn't, but it maybe just my experience.我尝试了 firebase 桌面构建,根据我的经验,mac 构建有 Windows 桌面构建没有的问题,但这可能只是我的经验。

You can always use the firebase REST API with unity's UnityWebRequest or BestHTTP , which works with no dependency on any platform but you'll have to write some code, there are plenty of community libraries for unity firebase REST API out there, and writing your own won't take a day knowing your way around unity's UnityWebRequest or BestHTTP .您始终可以将firebase REST API 与 unity 的UnityWebRequestBestHTTP 一起使用,它们不依赖于任何平台,但您必须编写一些代码,那里有很多用于 unity firebase REST API 的社区库,并编写您自己的不会花一天时间了解 Unity 的UnityWebRequestBestHTTP

It is worth noting that while the REST API is platform independent, it doesn't come with all the bells and whistles a native firebase sdk has.值得注意的是,虽然 REST API 是独立于平台的,但它并不具备原生 Firebase sdk 的所有功能。

Search keywords unity firebase REST , firebase C#搜索关键字unity firebase REST , firebase C#

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM