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] 分かった気になる! Timeline Signals / Timeline S...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
lycoris102
April 15, 2019
Programming
29k
5
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
[Unity] 分かった気になる! Timeline Signals / Timeline Signals Tutorial
20190415 Roppongi.unity #2 LT
lycoris102
April 15, 2019
More Decks by lycoris102
See All by lycoris102
コンプリボドゲ2024 ジグザグザクザク 遊び方
lycoris102
0
450
イラレの生成AI + Unity (VectorGraphics) で遊びたい! / Illustrator Generative AI and Unity Vector Graphics
lycoris102
0
1k
⌨️ a Key is Landmine 💣のデザイン / Design of "a Key is Landmine"
lycoris102
0
270
[Unity] プレビュー版 Cinemachine 3.0 紹介
lycoris102
1
2.4k
Unityとキャリアとコミュニティの話 / Unity, Carrier, Community
lycoris102
1
240
GOOLF!のデザイン⛳️ / Design of GOOLF!
lycoris102
0
740
[Unity] Mobile3D(2D)テンプレートとモバイル向けパッケージ紹介 / Mobile templates and packages for mobile
lycoris102
0
10k
期待値と言語化の話 / Verbalize Expectations
lycoris102
2
5k
Sweet^2 Honey Hive
lycoris102
2
1.6k
Other Decks in Programming
See All in Programming
AI に Inclusive UI を書かせよう — Design Rules Skill で Compose UI を作り直す
theoriatec2024
1
470
App Storeの外へ──日本のiOSサイドローディング入門 for iOSDC Japan 2026
yuukiw00w
0
150
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
190
Swift愛好会と私(ウホーイ) / Swift Fan Club and Uhooi
uhooi
0
150
Claude Codeを組織的に動かして月400PRを実現した話
happy_ryo
0
270
Swift愛好会100回記念 第1回を振り返る
jollyjoester
0
120
The Good Stuff, Not the Slop: Engineering High-Quality Android Apps with Modern AI Tooling
danybony
1
240
一参加者から『中の人』へ 〜全通PHPerがブースに立って学んだ、カンファレンスを100倍楽しむコツ〜
wp_daisuke
0
140
Hono + Inertia + React で LP を構築した話
oukayuka
2
220
LLMは4年分のCompose移行を再現できるのか?実プロダクト279件のXMLで探る自動化の境界線
makun
0
520
[DroidKaigi 2026] Bring your own phones to Gradle Managed Devices
f2lk
0
110
What We Talk About When We Talk About XP
m_seki
2
460
Featured
See All Featured
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
470
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
202
76k
Music & Morning Musume
bryan
47
7.4k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
320
Agile that works and the tools we love
rasmusluckow
331
22k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
210
Scaling GitHub
holman
464
140k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
410
How to Ace a Technical Interview
jacobian
281
24k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
890
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
510
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Transcript
Roppongi.unity #2 LT 分かった気になる! Timeline Signals 青木とと@lycoris102
だれ? 2 @lycoris102 青木とと ねんれい:29 しごと: 株式会社キッズスター かぞく: 妻と2歳半の息子 #Unityアンバサダー
#Gotanda.unity #UnityDesigner’sCafe #勉強会主催/サポート #ボードゲーム #音ゲー
3 あーSignalsね、Timelineの、分かる分かるー 名前だけでも覚えていってね! ……くらいになるのが今日のゴール
4 Timeline そもそも ってなんだっけ?
5 複数のアニメーション/音声などを 時系列に沿って再生するための 機能およびエディタのこと Unity2017.1.0で正式にリリースされました Timelineのおさらい
6 Timelineアセットを作成して PlayableDirectorコンポーネントにアタッチ Timelineのおさらい Timelineの再生を再生したり止めたり、中身を置き換えたりする君
7 ControlTrackはPrefabの生成制御やParcticleSystem/他のPlayableDirectorの再生制御など 「誰が」「どうする」を表す Track Animation Track アニメーションを行う Audio Track 音声を再生する
Activation Track Activeを切り替え Control Track いろいろできるぞ Timelineのおさらい
8 「何を」「いつ」「どのくらい」を指定する Clip AnimationTrackであれば再生するAnimationClipを指定する AudioTrackであれば再生するAudioClipを指定する Timelineのおさらい
Timelineのおさらい 9 Unity2019からは PackageManagerにて 管理されるようになりました Unity2017〜2018では組み込みで提供されています
10 Signals Unity2019で Timelineに追加される新機能 Timeline上で 任意のメソッドを呼び出すための仕組み
11 お題 ジャンプするタイミングで TimeScaleを変更してスローにする Signalsの使い方
12 Signalsの使い方 TimeScale を変更する関数を publicで定義した classを用意する (TimeScaleController)
13 Signalsの使い方 Signal アセットを作成する
14 Signalsの使い方 Signalと処理は1:1の関係を持つので、異なる処理を呼び出す場合は複数Signalを作成する 2つのアセットを作成 TimeScaleSlowSignal TimeScaleResetSignal
15 Signalsの使い方 SignalReceiver をアタッチした GameObjectを用意 先ほど作成した TimeScaleController もアタッチしておく (同一GameObjectでなくてもOK)
16 Signalsの使い方 Signalと処理を 紐づける
17 Signalsの使い方 Signal Track Signalを通知する を追加しつつ SignalReceiverを持つ GameObjectを指定する Timelineに
18 Signalsの使い方 Signalを配置する
19 完成! Signalsの使い方
20 今回はSignal 2つで済んだけど TimeScaleの値のレパートリーが増やす時に 逐次Signalを増やしたくない…… TimeScaleだとそんな困らないかもだけど、テキスト差し替えたいケース等で増えがち 早送り? 別のスロー?
21 Marker/MarkerReceiver 値も合わせて通知できるようにした を使用する Slow Reset Signal Timescale Marker 0.1f
1f 0.1f 1f SignalReceiver Change() Change() SignalReceiver側で Signal毎に挙動/引数を設定する MarkerReceiver OnNotify() Markerは通知毎に値を設定できる
22 TimeScaleMarker Markerを継承 INotificationを実装
23 TimeScaleMarkerをTimelineの Markerエリアに配置して TimeScaleの値を設定する
24 TimeScaleMarkerReceiver 通知が来た時の挙動を定義 INotification が引数として渡ってくるので TimeScaleMarkerとしてキャストする
25 https://forum.unity.com/threads/new-in-2019-1-marker-customization.594712/ (A)もしMarkerが任意のTrack上にあるならば Trackの対象として指定したGameObjectに (B)もしMarkerがTimelineのMarkerエリアにあるならば PlayableDirectorをアタッチしたGameObjectに TimeScaleMarkerReceiverをアタッチ
26 (B)もしMarkerがTimelineのMarkerエリアにあるならば PlayableDirectorをアタッチしたGameObjectに TimeScaleMarkerReceiverをアタッチ
27 完成! Signalsの使い方
28 Signals どういう時に 使っていく?
29 DOTweenやiTweenで作った演出を シーケンシャルに管理したり カットシーンにおける 字幕や吹き出しテキストの切り替えを行ったり タワーディフェンスやシューティングなど 敵の出現タイミング制御に使ったり 操作のタイミングで一時停止させて チュートリアルみたいな使い方してみたり
30 あなたは何に使いますか?
この作品はユニティちゃんライセンス条項の元に 提供されています © UTJ/UCL
分かった気になる! Timeline Signals 青木とと@lycoris102