SubassetsEditorUtility¶
Namespace:
SideXP.Core.EditorOnly
Miscellaneous utility functions for working with subassets in the editor.
Methods¶
GetAllowedSubassetsInfos(Type)¶
Gets the list of the types that can be selected to create a subasset.
Parameters
subassetsBaseType: The expected base type of the subassets that can be assigned to the list. That this type must derive fromScriptableObject.
Returns
Returns the informations about the allowed subassets, where keys are the types, and values are the display names.