Skip to content

LumosX/ISO

Repository files navigation

ISO: InlinedScriptableObjects

An improved and extended version of Tom Kail's ExtendedScriptableObjectDrawer.

image

(Reorderable lists and dictionaries can be found here)

Why? (New features)

Because the original implementation has significant drawbacks, such as breaking completely when nested, and overrides the default drawer for all scriptable objects, which isn't necessarily something you always want to be doing. This version fixes the drawer's problems, makes the "inlining" optional, and includes an attribute that allows you to draw any ScriptableObject as inlined on a one-off basis, and optionally to customise the appearance (label) of your inlined object.

How to use

Have your classes inherit from InlinedScriptableObject and that's it. Alternatively, decorate a member (which can either inherit from a ScriptableObject or an InlinedScriptableObject) with the DrawInline attribute. Look at the examples in the repo.

About

ISO: InlinedScriptableObjects for Unity (a better version of the ExtendedScriptableObject drawer)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages