Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
FirebaseとUnity
Search
gremito
April 02, 2018
0
190
FirebaseとUnity
fjug_meetup_3
https://docs.google.com/presentation/d/19_NUPkkAQBE7LKMfZXsOYyF2zv3qKv7tAvz-P-7_Hyo
gremito
April 02, 2018
Tweet
Share
More Decks by gremito
See All by gremito
Unity Fukuoka 17 - (非公式)Unityプログラミング・バイブルR6 発売記念イベント
gremito
0
11
QAエンジニアになる必要な知識とスキル
gremito
0
460
JaSST'20 Tokyo RejectCon for Session
gremito
0
1.3k
3Dゲーム開発で気をつけるべきこと
gremito
1
370
できることが多いUnityの落とし穴について - Unity Fukuoka 15
gremito
0
220
運用と開発が同時並行で進んでいるRailsアプリケーションをDocker対応した事例について
gremito
1
1.2k
令和で脱サラ 転職LT#5 #jobchanger
gremito
1
390
Unityのインストラクターはじめました - Gotanda.unity #13 #gotandaunity
gremito
1
500
福岡のUnity界隈を盛り上げるイベント『Unity Fukuoka』 #edayfuk
gremito
0
2.7k
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
9
1.3k
GraphQLの誤解/rethinking-graphql
sonatard
56
9.3k
Faster Mobile Websites
deanohume
300
30k
Six Lessons from altMBA
skipperchong
22
3k
No one is an island. Learnings from fostering a developers community.
thoeni
16
2.1k
Designing on Purpose - Digital PM Summit 2013
jponch
111
6.5k
Art, The Web, and Tiny UX
lynnandtonic
290
19k
RailsConf 2023
tenderlove
9
570
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.1k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
Designing the Hi-DPI Web
ddemaree
276
33k
Robots, Beer and Maslow
schacon
PRO
155
7.9k
Transcript
FirebaseとUnity Firebase Japan User Group / meetup / 3 2018/04/02(月) @grem_ito
アジェンダ • 自己紹介 • Unityとは • FirebaseとUnityエンジニア • 『FirebaseとUnity』でおさえておきたいこと
自己紹介 ※Firebaseを扱ったサービス開発は未経験 • 岩本 拓也(gremito/@grem_ito) • ドリコム / ゲームデベロップメント /
ゲーム開発基盤チームに所属 ◦ Unity, Cocos2d-x / iOS, Android / Ruby, Python ...etc • UNIBOOK(日本Androidの会 Unity部) • 八耐: 八時間耐久制作会(仮)
Unityとは
Unityとは ゲーム開発エンジン (ゲームを作るツール)
Unityとは でした...
Unityとは
FirebaseとUnityエンジニア
FirebaseとUnityエンジニア
Unity=iOS/Android=Firebase ↑ (ネイティブプラグイン) FirebaseとUnityエンジニア
https://speakerdeck.com/hosomichi/firebasewohuruhuo-yong-sitasabaenziniaresuxin-gui-shi-ye-purototaipingu Firebaseをフル活用したサーバーエンジニアレス 新規事業プロトタイピング
https://speakerdeck.com/hosomichi/firebasewohuruhuo-yong-sitasabaenziniaresuxin-gui-shi-ye-purototaipingu
できちゃう イベントフック処理 • データ変更を 監視して何ら かの処理実行 Cloud Functions 認証 •
サインアップ • サインイン • サインアウト Authentication ファイルサーバ • 画像や動画などの保存 Cloud Storage Webサーバ • HTML • CSS • IMG Hosting DB • データ保存 Cloud Firestore (もしくはRealtimeDatabase) OR
< / > 設計しやすいようにSDK提供されている Firebase SDK for Unity Firebase for
RESTAPI ビルド ビルド ビルド
イベントフック処理 • データ変更を 監視して何ら かの処理実行 Cloud Functions 認証 • サインアップ
• サインイン • サインアウト Authentication ファイルサーバ • 画像や動画などの保存 Cloud Storage Webサーバ • HTML • CSS • IMG Hosting DB • データ保存 Cloud Firestore (もしくはRealtimeDatabase) OR OR 共通化=Firebase SDKだから バックエンドの設計は 同じ内容で開発できちゃう!?
よくあるSDK for Unity C# / .java, .jar .aar C# /
Objective-C, .a
よくあるSDK for Unity C#, .java, .jar .aar C#, Objective-C, .a
Unity ⇄ C# ⇄ .java | .m/.h ↑ (ネイティブプラグイン)
よくあるSDK for Unity
よくあるSDK for Unity C#
.dll, .so, .bundle, .pom, .srcaar Firebase SDK for Unity .a
.dll, .so, .pom, .srcaar Firebase SDK for Unity .a Unity
⇄ .dll(C/C++/C#/...etc)
独自のFirebase SDKを作るには Unity ⇄ C# ⇄ .java | .m/.h ⇄
Android/iOS ↑ ネイティブプラグインを作る
独自のFirebase SDKを作るには(おまけ) Unity ⇄ C# ⇄ RESTAPI ↑ を作る
『FirebaseとUnity』でおさえておきたいこと
『FirebaseとUnity』でおさえておきたいこと • Firebaseの全サービスの内容と各サービスの仕様をある程度把握 ◦ 世に出ているいろんなサービスのサーバーの設計を知る • 独自Firebase SDKを作るときは注意 ◦ 先日GDCでWindowsマシン上のUnityへのSDK提供を発表
サービス全体を意識して開発する
おまけ
おまけ https://unity-bu.booth.pm/ UNIBOOK
おまけ https://unity-bu.booth.pm/ UNIBOOK