ScriptableObject data assets
Store shared data in custom ScriptableObject assets independently from GameObjects, and use that data at runtime and in the Editor.
Read time 1 minuteLast updated 2 days ago
Use ScriptableObjects assets to store a single copy of shared data in memory independently from GameObjects. You can instantiate prefabs from ScriptableObject data.
Topic | Description |
|---|---|
| Introduction to ScriptableObject | Understand how to use ScriptableObject to store shared data as assets that are independent of GameObjects. |
| Instantiate prefabs with ScriptableObject | Use data stored in a ScriptableObject asset to control prefab instantiation at runtime. |
| Save changes to ScriptableObject data | Ensure Unity saves changes to ScriptableObject assets in the Editor in Play mode and Edit mode. |