Releases: Hertzole/cecil-attributes
Releases · Hertzole/cecil-attributes
Version 0.5.0 released!
Added
- GetComponent attribute to automatically fill in serialized component reference fields.
Changed
- Code processing now happens in ILPostProcessor in newer Unity versions.
- Log called property set/get is no longer in a constructor and is instead separate fields.
Fixes
- A lot of fixes for log called, especially with generics.
- Fixed reset static not setting the correct value on child classes
Version 0.4.1 released!
Changed
- Updated Mono.Cecil dependency.
Version 0.4.0 released!
Added
- Timed attribute to automatically show how long a method or property takes to execute.
- MarkInProfiler attribute to make methods show up in the Unity profiler.
- Added %class_full%, %method_full%, and %property_full% for messages.
Changed
- ResetStatic no longer needs default values.
Fixed
- Fixed ResetStatic breaking if it's put on a generic field.
- Fixed code being weaved multiple times.
Version 0.3.0 released!
Added
- FindProperty attribute to automatically find serialized properties in your editor scripts.
Changed
- Moved settings asset into a Packages folder in ProjectSettings to be consistent with other packages.
Fixed
- Fixed LogCalled not working on static methods.
- Fixed LogCalled failing due to index out of bounds exceptions.
Version 0.2.0 released!
Added
- LogCalled attribute to make a log message appear when calling a method/property.
- Settings panel for changing settings related to the attributes.
- Support for not including generated code from ResetStatic in build.
- You can now change the initialization type of the generated ResetStatic method.
Fixed
- Fixed attributes not working in the editor.