jeffcampbellmakesgames / Entitas-Redux

An entity-component framework for Unity with code generation and visual debugging
MIT License
102 stars 13 forks source link

[FEATURE REQUEST] Create error log or stop playmode if Refactor Mode is still enabled #26

Closed jeffcampbellmakesgames closed 3 years ago

jeffcampbellmakesgames commented 3 years ago

Is your feature request related to a problem? Please describe. When Refactor Mode is enabled, most code relying on EntitasRedux will fail as component members will not be assigned (as they are compiled out). It's not always obvious when Refactor Mode is on and it can lead to developers troubleshooting bugs that don't exist.

Describe the solution you'd like There should be a clear and obvious error when Refactor Mode is enabled and Play-Mode starts, or Play-Mode should be stopped with a bug full-screen warning of some sort that it needs to be turned off first.

jeffcampbellmakesgames commented 3 years ago

Merged to develop