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
210
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
クラウドE2Eテスト環境を構築してQA業務の効率化アップ
gremito
0
98
Unity Fukuoka 17 - (非公式)Unityプログラミング・バイブルR6 発売記念イベント
gremito
0
53
QAエンジニアになる必要な知識とスキル
gremito
0
520
JaSST'20 Tokyo RejectCon for Session
gremito
0
1.5k
3Dゲーム開発で気をつけるべきこと
gremito
1
400
できることが多いUnityの落とし穴について - Unity Fukuoka 15
gremito
0
250
運用と開発が同時並行で進んでいるRailsアプリケーションをDocker対応した事例について
gremito
1
1.4k
令和で脱サラ 転職LT#5 #jobchanger
gremito
1
430
Unityのインストラクターはじめました - Gotanda.unity #13 #gotandaunity
gremito
1
590
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
42
7.2k
A designer walks into a library…
pauljervisheath
205
24k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.4k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
410
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Documentation Writing (for coders)
carmenintech
67
4.6k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.5k
Fireside Chat
paigeccino
34
3.2k
4 Signs Your Business is Dying
shpigford
182
22k
Thoughts on Productivity
jonyablonski
69
4.5k
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