ItemSOEditorWindow¶
Namespace:
SideXP.Core.Demos.EditorOnly| Inherits from:EditorWindow
Illustrates the use of OpenAsset callbacks. This window can only be opened by double-clicking on an ItemSO asset. See ItemSO script to learn more about how the callback is triggered. This workflow allow you to have a custom OpenAsset behavior, without putting all the editor code inside the asset itself.
Remarks
Note the use of InitializeOnLoadAttribute, required if you want thie window to have its static constructor called.