Unity Scriptable *SUB* Objects
Вставка
- Опубліковано 26 сер 2024
- Unity has AssetDatabase.AddObjectToAsset, which lets you attach child objects to other root level child objects, as a sort of 1 level deep folder structure. This means that "package" files, like assets, can be setup to also store textures, meshes and other scriptables, as drag and droppable file elements in their own right.
Test Scriptable Source File: dotnetfiddle.n...
#unity #unity3d #gamedev #gamedevelopment #gamedeveloper
Omg amazing! I didn't know about that
I used it in the past to pack animations into an AnimationController, but now I just make a folder and store my things in tons of folders. :D
What is `MorphAssetFile` exactly? It inherits from ScriptableObject? Thanks
Just my own class. Its part of a design tool to allow me to morph/deform the car into other shapes. It doesn't hold any real meaning to this video. Though once I have the morphing working how I want, I'll probably do a video on that as well.