Skip to content

v1.0.9

Compare
Choose a tag to compare
@MrUnbelievable92 MrUnbelievable92 released this 14 Oct 14:30
· 2 commits to master since this release
2d42bdb

Additions

  • added IEnumerable<T> ForEachDirectory<T>(string folder, Func<string, T> func) to DirectoryExtensions
  • added IEnumerable<T> ForEachFile<T>(string folder, Func<string, T> func) to DirectoryExtensions
  • added DebugBurstIntrinsicsWindow if used within a Unity project as an editor window (Window/C# Dev Tools/Debug Burst Intrinsics (Local Packages Only)), enabling source code modification of used Unity.Burst compiler intrinsics within the LocalPackages folder
  • added AreNotAliased and AreNotAliased<T, U> assertions to ensure that pointers i.e. arrays do not overlap
  • added UnreachableException and an accompanying assertion Assert.Unreachable(), mainly to replace the default: throw null/new Exception("unreachable code") pattern in switch statements with default: throw Assert.Unreachable()

Improvements

  • added a more recognizable error message prefix "Assertion failed:" to all assertions

Fixes

  • fixed incorrect call counts of assertions being displayed in the Unity editor control window (Window/C# Dev Tools/Manage Safety Checks...)

Fixed Oversights

  • included .meta files to allow for adding the repository to Unity projects via its GitHub URL