-
Notifications
You must be signed in to change notification settings - Fork 11
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
Allow for generation of protected members #26
Comments
Hi @spaderdabomb, thanks for your interest in the library I've never needed inheritance with these classes, and unless I have a good grasp on a problem I cannot create a solution. That's why I would be interested in seeing your workflow to better understand the use case. I would also appreciate any ideas/proposals on how this new feature could work from the UX side (i.e., what does the user need to do to change a field from private to protected). Thanks! |
I'm sure you have deeper understanding of ui toolkit than me, so maybe you could instead advise a solution that wouldn't need protected member fields (or if you agree with my workflow, we can devise how to implement protected members) I am designing an inventory system with a I would like to then create a Next, I make I have made a workaround but it feels messy. I manually implement a protected property on
If it helps, here is a boiled down version of the two classes I'm working with to make things more clear. Look forward to hearing your thoughts! BaseSlot.cs
GearSlot.cs
|
Would it be possible to add in an option to generate protected visual elements instead of always private? Feels like inheritance could be implemented more cleanly if this was allowed.
The text was updated successfully, but these errors were encountered: