jeffcampbellmakesgames / Genesis

A general purpose code generator library for Unity
MIT License
74 stars 8 forks source link

[Feature Request] Add support for generating code from a single GenesisSettings asset #1

Closed jeffcampbellmakesgames closed 4 years ago

jeffcampbellmakesgames commented 4 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

When executing code generation currently all GenesisSettings assets are discovered and mapped over to generate each one's particular scope of assets. There is not currently a way to generate code for a single GenesisSetting asset.

Describe the solution you'd like A clear and concise description of what you want to happen.

I'd like to be able to generate code for a single GenesisSettings, via either right-clicking on the asset itself and selecting a context menu item or perhaps a top-level Editor menu item that is programmatically generated. It would also be useful in this context to select a top-level menu item that makes my active selection that asset; this is useful for GenesisSettings in sub-folders.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

There have been some situations where I'd like to generate code for one scope at a time, or I've forgotten where the asset is to configure it.

jeffcampbellmakesgames commented 4 years ago

Included in release v1.2.0 https://github.com/jeffcampbellmakesgames/Genesis/releases/tag/upm%2Fv1.2.0