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 WebGLでSNS認証したいですよね
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
いも
May 05, 2017
Programming
630
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Unity WebGLでSNS認証したいですよね
へろなかLT
いも
May 05, 2017
More Decks by いも
See All by いも
UnityプログラミングバイブルR6号宣伝&Unity Logging小話
adarapata
0
660
Unityテスト活動のふりかえり
adarapata
1
710
Gather.townはいいぞ その後
adarapata
1
1.7k
Unityでの開発事例
adarapata
3
23k
どこのご家庭にもあるシーンマネージャーの話
adarapata
2
8.9k
Gather.townはいいぞ
adarapata
2
2.5k
宴はいいぞ
adarapata
0
2.3k
わかった気になるモブプログラミング
adarapata
1
190
モブワークっぽいのをやっている話/Trying mobwork
adarapata
2
1.3k
Other Decks in Programming
See All in Programming
npm との違いを手がかりにGo の依存管理を理解したい
optim
0
1.1k
AmebaブログはKMPから卒業します
kmars0605
0
240
学びを記事・スライド・Xへ高速展開する― AI-assisted Learning Loopで回すコンテンツ生成術
ochtum
0
150
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
1
200
Event is what happens
moro
2
1.6k
SFCで実現する病院・医療システムの動的組み立て式UI
koukimiura
1
120
Kotlinの15年とServer-Side Kotlin
n_takehata
1
170
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
190
Vue.jsで作る空間解析アプリとCapacitorプラグインのData Bridge
hal_spidernight
1
110
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
370
クラウドゲーミングのパフォーマンス最適化に挑む / Cloud Gaming Performance Tuning
vivion
0
260
Railsバージョンを4倍にした話
optim
0
730
Featured
See All Featured
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
330
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Ruling the World: When Life Gets Gamed
codingconduct
0
420
Abbi's Birthday
coloredviolet
4
10k
How to make the Groovebox
asonas
2
2.5k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
43k
First, design no harm
axbom
PRO
2
1.4k
Product Roadmaps are Hard
iamctodd
55
13k
How to Ace a Technical Interview
jacobian
280
24k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Transcript
Ҫຊେొ(.01&1"#0JOD Ζͳ͔-5 6OJUZ8FC(-Ͱ4/4ೝূ͍ͨ͠Ͱ ͢ΑͶ
ΤϯδχΞ Ҫຊେొ!BEBSBQBUB NJOOFࣄۀ෦ϓϩμΫτνʔϜ IUUQTBEBSBQBUBDPN
4/4ೝূ
4/4ೝূJT w8&#αʔϏεͰΑ͋͘Δͭ wιʔγϟϧ͔ΒΞΧϯτใΒͬͯӠʑ wϨΠόϯԁ w6OJUZͰΓ͍ͨͰ͢ΑͶ w8FC(-͕ྲྀߦΔ͔͠Εͳ͍͠Ͷ IUUQTNVSBTIVOKQCMPHIUNMΊͬͪΌྑ͍ͷͰݟͯ
6OJUZͰιʔγϟϧϩάΠϯʹࢸΔ·Ͱ w6OJUZ্Ͱ4/4ͷೝূ ೝՄ ϖʔδʹඈ͢ wϦμΠϨΫτઌʹΞϓϦஔ͍ͯΔ63-Λࢦఆ w6OJUZͰͲ͏ʹ͔ΫΤϦύϥϝʔλͷೝՄίʔυΛऔಘ w6OJUZ8FC3FRVFTUͰϓϩόΠμ͔ΒτʔΫϯΛऔಘ
6OJUZͰιʔγϟϧϩάΠϯʹࢸΔ·Ͱ w6OJUZ্Ͱ4/4ͷೝূ ೝՄ ϖʔδʹඈ͢ wϦμΠϨΫτઌʹΞϓϦஔ͍ͯΔ63-Λࢦఆ w6OJUZͰͲ͏ʹ͔ΫΤϦύϥϝʔλͷೝՄίʔυΛऔಘ w6OJUZ8FC3FRVFTUͰϓϩόΠμ͔ΒτʔΫϯΛऔಘ "QQMJDBUJPO0QFO63- lIUUQTQSPWJEFSDPNPBVUIz
6OJUZͰιʔγϟϧϩάΠϯʹࢸΔ·Ͱ w6OJUZ্Ͱ4/4ͷೝূ ೝՄ ϖʔδʹඈ͢ wϦμΠϨΫτઌʹΞϓϦஔ͍ͯΔ63-Λࢦఆ w6OJUZͰͲ͏ʹ͔ΫΤϦύϥϝʔλͷೝՄίʔυΛऔಘ w6OJUZ8FC3FRVFTUͰϓϩόΠμ͔ΒτʔΫϯΛऔಘ SFEJSFDU@VSJlNZVOJUZHBNFKQdddddddz
6OJUZͰιʔγϟϧϩάΠϯʹࢸΔ·Ͱ w6OJUZ্Ͱ4/4ͷೝূ ೝՄ ϖʔδʹඈ͢ wϦμΠϨΫτઌʹΞϓϦஔ͍ͯΔ63-Λࢦఆ w6OJUZͰͲ͏ʹ͔ΫΤϦύϥϝʔλͷೝՄίʔυΛऔಘ w6OJUZ8FC3FRVFTUͰϓϩόΠμ͔ΒτʔΫϯΛऔಘ 6OJUZ͔Β63-ΛऔΔΑ͏ͳॲཧͳ͍ɻ
&YUFSOBM&WBMܦ༝ͰऔΓ·͠ΐ͏ private void SendQueryParameter() { string script = "SendMessage('" +
gameObject.name + "', 'SetupOAuthCode', window.location.search)"; if (Application.platform == RuntimePlatform.WebGLPlayer) { Application.ExternalEval(script); } } public void SetupOAuthCode(string url) { Regex regEx = new Regex(@"code=[a-z0-9]+"); var match = regEx.Match(url); if(match.Success) { var keyValue = match.Value.Split('='); loadOAuthCodeStream.OnNext(keyValue[1]); } }
6OJUZͰιʔγϟϧϩάΠϯʹࢸΔ·Ͱ w6OJUZ্Ͱ4/4ͷೝূ ೝՄ ϖʔδʹඈ͢ wϦμΠϨΫτઌʹΞϓϦஔ͍ͯΔ63-Λࢦఆ w6OJUZͰͲ͏ʹ͔ΫΤϦύϥϝʔλͷೝՄίʔυΛऔಘ w6OJUZ8FC3FRVFTUͰϓϩόΠμ͔ΒτʔΫϯΛऔಘ ී௨ͷ6OJUZ8FC3FRVFTUʹΑΔ௨৴Ͱ0,
͓ΘΓ