Skip to content

Added advanced audio handler

Pre-release
Pre-release
Compare
Choose a tag to compare
@Emik03 Emik03 released this 12 Apr 16:15
· 1006 commits to main since this release
  • Added DynamicAudio class, which allows you to use Unity's AudioSource datatype without worrying about volume relativity from the game.
  • Added PlayerSettings class, which can grant you access to internal settings.
  • Added For<T>() in Helper, allowing you to do an in-line iteration whilst including the index.
  • Added Flatten() in Helper, allowing you to truncate any nested arrays into one long array.
  • Added HexToColor() in StructHelper allowing you to convert any hexadecimal code into a Color32 struct.
  • Fixed GetAllValues() from Helper so that properties and fields' values are correctly unwrapped.
  • Fixed Replace() from StructHelper not allowing null values.
  • Changed Tuple<T1, T2...> to inherit from tuples 1 smaller than itself, allowing you to cast or truncate the tuple.