-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not all members in PixelWizards.PackageUtil.PackageUtilModel are marked [System.Serializable] #1
Comments
Incidentally here's a "V0.0.1" of the asset I mentioned above which you should feel free to adapt for the package. The inspector UI in this is very "no frills", personally I would probably address this by using the Unity attributes like [Space],[Heading()] etc. in I wanted this for a few reasons but here are the main two:
|
First, thanks for making this in the first place - much appreciated :)
Since
PackageUtilController
essentially takes an instance ofPackageUtilModel
and uses it to create a package I thought - oh, I'll just storePackageUtilModel
in aScriptableObject
and then I can add a button to the asset's inspector to usePackageUtilController
to export the package.However, because
PackageDependency
,DependencyList
, andAuthor
aren't marked[System.Serializable]
they don't show up in the inspector for aPackageUtilModel
property or get saved in the asset so this super easy extension was a non-starter.I know this is all MIT licensed so I could just modify it locally and do what I want but I thought this tiny change might be generally helpful to other people using this package :)
I figured it was such a small change there wasn't any point making a pull request...
Again, thanks for sharing all of these packages - super super lovely of you :)
The text was updated successfully, but these errors were encountered: