Supabase with Unity
Demonstration showing how to use Unity with Supabase. If you just want to use email/password or if you would also like to support the native Sign in with Apple functionality on iOS, this video will help you get started.
https://supabase.com/ - Postgres database, Auth, Storage, Edge functions, and more. Free & inexpensive hosting options as well as options that scale up for enterprise, including self-hosting and local dev tools.
https://github.com/supabase-community/supabase-csharp - C# library to make it easy to use Supabase. Install this via the NuGetForUnity package below.
https://supabase.com/docs/guides/auth/social-login/auth-apple - Instructions on getting started with Sign in with Apple using Supabase. If you have any familiarity with JavaScript or TypeScript I would suggest verifying that you can use Sign in with Apple functionality via a quick & dirty JS project - this will be easiest for Supabase support if you run into problems.
https://github.com/Cysharp/UniTask - Add proper support for C# async/await to Unity, which is used heavily by the supabase-csharp project. Be sure to install via the Unity Package manager via the Git URL method, not via NuGet.
https://github.com/GlitchEnzo/NuGetForUnity - Use this to install supabase-csharp, along with needed dependencies.
https://developer.apple.com/ - Go here to sign up for an Apple Developer account.
https://developer.apple.com/documentation/sign_in_with_apple - Technical information from Apple on Sign in with Apple. You'll use the on-device native dialog to Sign in with Apple on iOS, and Supabase uses the REST APIs on your behalf to handle the rest of the flow.
https://gist.github.com/wiverson/a2028d41472364df6e0e0345ecbfa50b - Gist of the SupabaseStuff.cs class from the demo video. If you just want to support email/password you can remove the Sign in with Apple stuff and presumably use the rest of Supabase everywhere - e.g. Windows, Linux, etc. My guess is that WebGL builds won't work, but that's just a guess.
https://gist.github.com/wiverson/8c7ecf4c62aa1d31ce641b3fa954cbd2 - Gist of the AppleSignIn.cs class from the demo video. This shows how to use the supabase-csharp classes to generate a nonce and a nonce hash, as well as how to invoke the native Sign in with Apple dialog.
Many thanks to https://github.com/acupofjose for adding the functionality to the https://github.com/supabase-community/gotrue-csharp library to complete the flow for the Sign in with Apple flow!
If you have any questions or wish to reach out, feel free to ping me at https://www.changenode.com/
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Supabase with Unity», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.