简体   繁体   中英

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

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.

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 .

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.

Search keywords unity firebase REST , firebase C#

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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