Skip to content

Releases: Hertzole/cecil-attributes

Version 0.5.0 released!

29 Jul 16:57
Compare
Choose a tag to compare

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!

11 Feb 22:11
Compare
Choose a tag to compare

Changed

  • Updated Mono.Cecil dependency.

Version 0.4.0 released!

12 Jan 14:16
Compare
Choose a tag to compare

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!

08 Dec 00:44
44e68c4
Compare
Choose a tag to compare

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!

04 Nov 17:01
Compare
Choose a tag to compare

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.