Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
FirebaseとUnity
gremito
April 02, 2018
0
170
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
QAエンジニアになる必要な知識とスキル
gremito
0
300
JaSST'20 Tokyo RejectCon for Session
gremito
0
1.1k
3Dゲーム開発で気をつけるべきこと
gremito
1
320
できることが多いUnityの落とし穴について - Unity Fukuoka 15
gremito
0
180
運用と開発が同時並行で進んでいるRailsアプリケーションをDocker対応した事例について
gremito
1
980
令和で脱サラ 転職LT#5 #jobchanger
gremito
1
330
Unityのインストラクターはじめました - Gotanda.unity #13 #gotandaunity
gremito
1
400
福岡のUnity界隈を盛り上げるイベント『Unity Fukuoka』 #edayfuk
gremito
0
2k
ゲーム開発とゲーム基盤のお仕事
gremito
0
120
Featured
See All Featured
The Brand Is Dead. Long Live the Brand.
mthomps
48
2.9k
Docker and Python
trallard
30
1.9k
Documentation Writing (for coders)
carmenintech
51
2.9k
Rebuilding a faster, lazier Slack
samanthasiow
69
7.5k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
6
840
The Language of Interfaces
destraynor
149
21k
Embracing the Ebb and Flow
colly
75
3.6k
A better future with KSS
kneath
230
16k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
239
19k
Producing Creativity
orderedlist
PRO
335
38k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
2
400
Art Directing for the Web. Five minutes with CSS Template Areas
malarkey
196
9.8k
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