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
【Unity】気づいたら加わっていたあいつ【もくもく】
Search
RyotaMurohoshi
March 20, 2016
Technology
0
12
【Unity】気づいたら加わっていたあいつ【もくもく】
2016/03/20(日)に開催したUnity部もくもく会でのLT兼クロージングトークの資料です。
RyotaMurohoshi
March 20, 2016
Tweet
Share
More Decks by RyotaMurohoshi
See All by RyotaMurohoshi
Unityの合同同人誌や合同商業誌を書いてる僕は感想やレビューや評価が欲しい
ryotamurohoshi
0
490
Unity 2021.1での Unityパッケージの名称変更について
ryotamurohoshi
0
680
Odin Validationはいいぞ!
ryotamurohoshi
2
910
Tilemapはいいぞ!2020 〜すごいぞ、プロジェクト専用拡張Brush〜
ryotamurohoshi
0
2.3k
Unityでも、新しいC#
ryotamurohoshi
0
1.3k
Riderはいいぞ!
ryotamurohoshi
1
3.4k
Riderのススメ〜俺はRiderここが好き〜
ryotamurohoshi
1
2.3k
Unity開発者に伝えたい.NETのこと
ryotamurohoshi
4
37k
ImportedLinqのススメ
ryotamurohoshi
0
1.3k
Other Decks in Technology
See All in Technology
Apache Iceberg Case Study in LY Corporation
lycorptech_jp
PRO
0
380
AIエージェント開発のノウハウと課題
pharma_x_tech
9
4.8k
開発者体験を定量的に把握する手法と活用事例
ham0215
0
130
AWSではじめる Web APIテスト実践ガイド / A practical guide to testing Web APIs on AWS
yokawasa
8
780
2/18 Making Security Scale: メルカリが考えるセキュリティ戦略 - Coincheck x LayerX x Mercari
jsonf
0
260
フォーイット_エンジニア向け会社紹介資料_Forit_Company_Profile.pdf
forit_tech
1
1.7k
マルチアカウント環境における組織ポリシーについて まとめてみる
nrinetcom
PRO
2
110
エンジニア主導の企画立案を可能にする組織とは?
recruitengineers
PRO
1
310
遷移の高速化 ヤフートップの試行錯誤
narirou
6
1.9k
Amazon Aurora のバージョンアップ手法について
smt7174
2
190
4th place solution Eedi - Mining Misconceptions in Mathematics
rist
0
150
EDRの検知の仕組みと検知回避について
chayakonanaika
12
5.3k
Featured
See All Featured
KATA
mclloyd
29
14k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
21
2.5k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
660
Site-Speed That Sticks
csswizardry
4
420
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.7k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.2k
Building Your Own Lightsaber
phodgson
104
6.2k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.5k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.5k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Transcript
ؾ͍ͮͨΒՃΘ͍͍ͬͯͨ͋ͭ ɹ @RyotaMurohoshi ʲϓνLTʳUnityͷ৽ػೳͰ༡Ϳձʲ͘͘ʳ2016/01/20()
ଟ͘ͷػೳ͕Ճ͞ΕͨUnty5.3ɺ ࠷ۙͰͨUnity5.4)public)preview Έͳ͞Μ৽ػೳ׆༻͞Ε͍ͯ·͔͢ʁ
΅͑ͯ͘ͳ͍Ͱ͢ʂ
Unity͍Ζ͍Ζ ਐԽ͍ͯ͠ΔͶʂ
Unity4.xͷΑ͋͘Δίʔυʂ public class CharacterBehaviour : MonoBehaviour { [SerializeField] HpBar hpBarPrefab;
HpBar hpBar; void Awake() { hpBar = Instantiate(hpBarPrefab) as HpBar; } }
ͳas#·ͨ#Ωϟετʂ
ؾ͍ͮͨΒ Unity5.xܥͰδΣωϦοΫͳ Instan&ate͕Ճ͞Εͨʂ
Unity5.3ͷॻ͖ํ public class CharacterBehaviour : MonoBehaviour { [SerializeField] HpBar hpBarPrefab;
HpBar hpBar; void Awake() { // ҎԼͷΑ͏ʹهड़Ͱ͖Δ͕ɺܕύϥϝʔλ // hpBar = Instantiat<HpBar>(hpBarPrefab); // ͘؆ܿʂʂʂ hpBar = Instantiate(hpBarPrefab); } }
ͦͷ΄͔ʹؾ͕͍ͭͨΒUnity5.xͰ • Vector2.downͱ͔Vector2.le. • NUnit͕UnityϏϧυΠϯʹ • ίϧʔνϯͷೖΕࢠɺStartCorou7neෆཁͰIEnumerator • ϩάपΓڧԽ •
UnityEngine.Asser7ons໊લۭؒ
JSONੳɺΞϓϦ՝ۚͱ͔ओཁͳཱͭ ͱ͜ΖҎ֎Ͱଟ͘Ξοϓσʔτ͞Εͯ·͢Ͷʂ
ӜౡଠͩΑʂʂʂ
ͯ͞ɺࠓͷ͘͘ձͰΈͳ͞Μ͕ ීஈࢼ͍ͤͯͳ͍৽ػೳʹ৮Γɺ ݟΛஷΊΔ͜ͱ͕Ͱ͖·͔ͨ͠ʁ
େࣄͳ͜ͱΛݴ͍·͢
Ոʹؼͬͯ ϒϩάΛॻ͘·Ͱ͕͘͘ձͰ͢ Twi$erͰҰݴͱײͰ͍͍Ͱ͢Α
͋ͱɺձఏڙͷStudio'Geeks༷ʹײँΛʂ ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂʂʂ
ଞʹԿ͔ݴ͍͍ͨ͜ͱ͋Δਓ͍·͔͢ʁ
Ͱɺ͓ย͚ͮΛͯ͠ؼΓ·͠ΐ͏ʂ