기술 자료

Unity Engine

Download Unity

Unity Engine

ScriptableObject data assets

Store shared data in custom ScriptableObject assets independently from GameObjects, and use that data at runtime and in the Editor.
읽는 시간 1분최근 업데이트: 3일 전

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 ScriptableObjectUnderstand how to use ScriptableObject to store shared data as assets that are independent of GameObjects.
Instantiate prefabs with ScriptableObjectUse data stored in a ScriptableObject asset to control prefab instantiation at runtime.
Save changes to ScriptableObject dataEnsure Unity saves changes to ScriptableObject assets in the Editor in Play mode and Edit mode.

Additional resources