Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
UnityとGoogleCloudFunction を連携して社内サービスを作った話
Search
Cova8bitdots
July 14, 2023
Programming
230
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
UnityとGoogleCloudFunction を連携して社内サービスを作った話
Lightening Talk on Qiita Engineer Fes2023
Cova8bitdots
July 14, 2023
More Decks by Cova8bitdots
See All by Cova8bitdots
Unity6.3 AudioUpdate
cova8bitdots
0
310
Latest_Information_of_CICD_for_UnityAppWithAppleVisionPro
cova8bitdots
0
140
HandGestureTool for AppleVisionPro
cova8bitdots
0
160
NinjaGazeTyping 制作秘話
cova8bitdots
0
380
Unity-chan.Terrastal!!
cova8bitdots
0
530
ExampleOfTilemap2D
cova8bitdots
0
180
unity_lt_2021_Dec.pdf
cova8bitdots
0
1k
HowToUseAudioMixer
cova8bitdots
0
200
TrapOfSpriteAtlas
cova8bitdots
0
5.5k
Other Decks in Programming
See All in Programming
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
250
Snowflakeで業務アプリを作ろう。 Snowflakeのアプリ機能解説&実践ガイド
ayumu_yamaguchi
2
310
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
210
20260914 AIエージェント時代のPlatform Engineering LLM基盤とプロダクトの責務境界線
kanfab1
7
2.2k
JPUG勉強会 OSSデータベースの内部構造を理解しよう(第2回)
oga5
0
280
setup-vp GitLab対応の裏側
naokihaba
0
140
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
140
App Intentsのビルドプロセスを支える技術
kntkymt
0
460
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
390
SREの越境 / SRE Collaboration
y0hgi
2
290
AGENTS.md Is Not Enough:Build Skills, Don't Download Them
lx_t
0
130
TiDB Cloudのカスタムコントローラーによるオートスケール対応
takaidohigasi
0
140
Featured
See All Featured
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
340
Accessibility Awareness
sabderemane
1
220
Raft: Consensus for Rubyists
vanstee
142
7.7k
[SF Ruby Conf 2025] Rails X
palkan
3
1.4k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
The untapped power of vector embeddings
frankvandijk
2
1.9k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
GitHub's CSS Performance
jonrohan
1033
470k
A designer walks into a library…
pauljervisheath
211
25k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
330
Transcript
Qiita Engineer Festa 2023 〜私しか得しないニッチな技術でLT〜 UnityとGoogleCloudFunction を連携して社内サービスを作った話 2023/07/14
登壇者情報 Gra ffi ty(株) 所属Unityエンジニア 専門領域:サウンドプログラミング @8bitdots Unityを中心とした情報発信などを行っています。 2
Qiita Engineer Festa 2023〜私しか得しないニッチな技術でLT〜 技術書の査読も しています
Graffityは現在 toC向けの「ARゲーム事業」とtoB向けの「ARエンタメDX事業」に フォーカスしています 3 Qiita Engineer Festa 2023〜私しか得しないニッチな技術でLT〜
UnityとGoogleCloudFunction を 連携して社内サービスを作った話 Qiita Engineer Festa 2023〜私しか得しないニッチな技術でLT〜
Unityって?
Unityとは • Unity Technologies が提供するゲームエンジン • 基本⾔語はC# • PC, iOS,
Android, WebGL, コンシューマーゲーム機向けに アプリをビルドすることが可能 • 国内スマホゲームは⼤体Unity製 • プラグインの導⼊でAR/VRなども対応可能 6 Qiita Engineer Festa 2023〜私しか得しないニッチな技術でLT〜
GoogleCloudFunctionって?
GoogleCloudFunction(GCF)とは • GoogleCloudPlatform 上で提供される Function as a Service • いわゆるサーバーレス
• JavaScript, Python などのコードを実⾏可能 8 Qiita Engineer Festa 2023〜私しか得しないニッチな技術でLT〜
9 全然ニッチじゃないじゃん!?
Qiitaで「Unity」「CloudFunction」「GCP」で検索 10 Qiita Engineer Festa 2023〜私しか得しないニッチな技術でLT〜
Qiitaで「Unity」「GoogleCloudFunction」で検索 11 Qiita Engineer Festa 2023〜私しか得しないニッチな技術でLT〜
12 ⾃分が書いた記事しかヒットしない!
13 全然ニッチじゃないじゃん!? ニッチじゃん!?
Unity + GCF + GCSql で社内のデバッグ端末管理サービスを構築しました 14 Qiita Engineer Festa
2023〜私しか得しないニッチな技術でLT〜 実装:C# 実装:Python 実装:Python
Unity + GCF + GCSql で社内のデバッグ端末管理サービスを構築しました 15 Qiita Engineer Festa
2023〜私しか得しないニッチな技術でLT〜 デバッグ端末の貸し出し・返却フロー
Unity + GCF + GCSql で社内のデバッグ端末管理サービスを構築しました 16 Qiita Engineer Festa
2023〜私しか得しないニッチな技術でLT〜 返却期限すぎてる端末チェック&通知
Unity + GCF + GCSql で社内のデバッグ端末管理サービスを構築しました 17 Qiita Engineer Festa
2023〜私しか得しないニッチな技術でLT〜 NFCタグ 社員証(Felica)
Unity→GCFのEndpointを叩く部分で苦労した • cURLでのPOSTはOK • PostデータはJSON • UnityはUnityWebRequestというcURLの ラッパークラスのようなものが存在 •
UnityWebRequestで普通にEndpointを 叩いても400で弾かれた 18 Qiita Engineer Festa 2023〜私しか得しないニッチな技術でLT〜 https://qiita.com/Cova8bitdot/items/2aa8365f2dbbc1f2d81a
Unity→GCFのEndpointを叩く部分で苦労した • 解決方法 • UnityWebRequestにヘッダを書く • UnityWebRequestのDownloadHandler UploadHandlerを書く •
Post するjsonデータをバイナリ変換してアップロード • 理由:わからん!でもこれで動く!謎! 19 Qiita Engineer Festa 2023〜私しか得しないニッチな技術でLT〜 https://qiita.com/Cova8bitdot/items/2aa8365f2dbbc1f2d81a
まとめ • スマホゲーム等では Unity→APIサーバー(GCE/EC2) のようにAPIサーバーを用意することが多い • 社内サービス等小規模であればサーバレスの GCFやLambda で代替は可能 •
意外と既知の技術同士の組み合わせをやってない場合がある • ある意味ブルーオーシャン(水深1.5m) • Qiitaは「いつか誰かの役に立つだろう」という知見共有に最適! • たとえバズらなくても記事を書こう! 20 Qiita Engineer Festa 2023〜私しか得しないニッチな技術でLT〜
21 みなさんも⾊んな技術を組み合わせて 便利サービスを作っていきましょう!