Upgrade to Pro — share decks privately, control downloads, hide ads and more …

FirebaseとUnity

gremito
April 02, 2018
190

 FirebaseとUnity

gremito

April 02, 2018
Tweet

More Decks by gremito

Transcript

  1. 自己紹介 ※Firebaseを扱ったサービス開発は未経験 • 岩本 拓也(gremito/@grem_ito) • ドリコム / ゲームデベロップメント /

    ゲーム開発基盤チームに所属 ◦ Unity, Cocos2d-x / iOS, Android / Ruby, Python ...etc • UNIBOOK(日本Androidの会 Unity部) • 八耐: 八時間耐久制作会(仮)
  2. できちゃう イベントフック処理 • データ変更を 監視して何ら かの処理実行 Cloud Functions 認証 •

    サインアップ • サインイン • サインアウト Authentication ファイルサーバ • 画像や動画などの保存 Cloud Storage Webサーバ • HTML • CSS • IMG Hosting DB • データ保存 Cloud Firestore (もしくはRealtimeDatabase) OR
  3. イベントフック処理 • データ変更を 監視して何ら かの処理実行 Cloud Functions 認証 • サインアップ

    • サインイン • サインアウト Authentication ファイルサーバ • 画像や動画などの保存 Cloud Storage Webサーバ • HTML • CSS • IMG Hosting DB • データ保存 Cloud Firestore (もしくはRealtimeDatabase) OR OR 共通化=Firebase SDKだから バックエンドの設計は 同じ内容で開発できちゃう!?
  4. よくあるSDK for Unity C#, .java, .jar .aar C#, Objective-C, .a

    Unity ⇄ C# ⇄ .java | .m/.h ↑ (ネイティブプラグイン)
  5. 独自のFirebase SDKを作るには Unity ⇄ C# ⇄ .java | .m/.h ⇄

     Android/iOS ↑     ネイティブプラグインを作る