Unite 2016 - Overthrowing the MonoBehaviour Tyranny in a Glorious Scriptable Object Revolution

Channel:
Subscribers:
1,180,000
Published on ● Video Link: https://www.youtube.com/watch?v=6vmRwLYWNRo



Duration: 57:33
256,312 views
5,039


Get the assets here: https://github.com/richard-fine/scriptable-object-demo

This session goes over ScriptableObject class in detail, compares it to the MonoBehaviour class and works through many examples of how it might be applied in a project.

Richard Fine - Unity Technologies

00:00 Intro
1:34 The MonoBehaviour Tyranny
5:58 Uninstantiated prefabs help a bit, but...
8:31 C# statics are very DIY
9:34 ScriptableObject
10:51 How ScriptableObject saves us pain
12:55 How to declare + reference ScriptableObject
13:55 How to create ScriptableObject
15:49 ScriptableObjects Callbacks
17:18 ScriptableObject Lifecycle
18:05 A note on Destroy() / DestroyImmediate()

20:55 Patterns
21:29 Data Objects and Tables
23:39 Extendable Enums
25:44 Dual Serialisation
26:37 Dual Serialisation example
28:31 Reload-Proof Singletons
30:14 Reload-Proof Singletons example
31:44 Delegate objects
32:53 Delegate objects example
35:44 Practice
35:49 TANKS! Demo







Tags:
Unity Scripting
ScriptableObject
Unity (Software)
Unite LA
Unite 16
Unite 2016 Los Angeles