Unity Supplements
Unity Supplements extends the standard library with additional types and functionality for Unity developers. It provides utility extensions for arrays, numbers, and strings; specialized delegates for ref and read-only struct parameters; custom comparable and equatable interfaces; multi-dimensional index and length types; and read-only array wrappers. Configurable hash code behavior via compile symbols and object pooling utilities included.
com.laicasaane.unity-supplements 
Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/unity-supplements.git README Markdown
Copy this to your project's README.md
## Installation
Add **Unity Supplements** to your Unity project via Package Manager:
1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/unity-supplements.git
```
[](https://www.pkglnk.dev/pkg/unity-supplements)README
Unity Supplements
Changelog
2.6.0
- Can define a
USE_SYSTEM_HASHCODEsymbol to change the behaviour of almost allGetHashCodemethods- Must install the Microsoft.Bcl.HashCode package before to avoid compilation errors
2.5.3
Breaking changes
- Change the namespace of all pooling-related classes
Global
Extensions
System
Delegate
Interface
Index & Length
Array
Enum
Singleton
Pseudo Probability
Range
- IRange<T>
- IRange<TValue, TEnumerator>
- IRangeEnumerator<T>
- ReadRange<T>
- ReadRange<TValue, TEnumerator>
- ByteRange
- SByteRange
- ShortRange
- UShortRange
- IntRange
- UIntRange
- LongRange
- ULongRange
- CharRange
- EnumByteRange<T>
- EnumSByteRange<T>
- EnumShortRange<T>
- EnumUShortRange<T>
- EnumIntRange<T>
- EnumUIntRange<T>
- EnumLongRange<T>
- EnumULongRange<T>
- EnumRange<T>
Misc.
System.Delegates
System.ValueDelegates
System.IO
System.Runtime.Serialization
System.Runtime.Serialization.Formatters.Text
System.Collections.Generics
Interface
Extensions
- Collection<T>
- IEnumerable<T>
- IEnumerator<T>
- List<T>
- Dictionary<TKey, TValue>
- Queue<T>
- Stack<T>
- HashSet<T>
Segment
- ISegment<T>
- ISegmentReader<T>
- ISegmentSource<T>
- Segment<T>
- Segment1<T>
- Array1Segment<T>
- ListSegment<T>
- StringSegment
- SegmentReader<TSegment, TValue>
- Extensions
Read-Only Collection
Randomizer
Misc.
System.Collections.ArrayBased
- ArrayList<T>
- ArrayList<T>.Collection
- ArrayDictionary<TKey, TValue>
- ArrayDictionary<TKey, TValue>.Collection
- ReadArrayList<T>
- ReadArrayDictionary<TKey, TValue>
- Extensions
System.Collections.Pooling
- IPool<T>
- Pool<T>
- IPoolProvider
- IPoolProviderDecorator
- Pool
- Pool.DefaultProvider
- DefaultProviderDecorator
- Array1Pool<T>
- ListPool<T>
- DictionaryPool<TKey, TValue>
- ArrayListPool<T>
- ArrayDictionaryPool<TKey, TValue>
- HashSetPool<T>
- QueuePool<T>
- StackPool<T>
System.Collections.Pooling.Concurrent
- ConcurrentPool<T>
- IConcurrentPoolProvider
- IConcurrentPoolProviderDecorator
- ConcurrentPool
- ConcurrentPool.DefaultProvider
- DefaultConcurrentProviderDecorator
- Array1ConcurrentPool<T>
- ListConcurrentPool<T>
- DictionaryConcurrentPool<TKey, TValue>
- ArrayListConcurrentPool<T>
- ArrayDictionaryConcurrentPool<TKey, TValue>
- HashSetConcurrentPool<T>
- QueueConcurrentPool<T>
- StackConcurrentPool<T>
- ConcurrentBagPool<T>
- ConcurrentDictionaryPool<TKey, TValue>
- ConcurrentQueuePool<T>
- ConcurrentStackPool<T>
System.Fluent
System.Grid
- GridIndex
- GridIndexRange
- GridIndexRange.Enumerator
- GridRange
- GridRange.Enumerator
- SGridIndex
- SGridIndexRange
- SGridIndexRange.Enumerator
- SGridRange
- SGridRange.Enumerator
- GridSize
- ClampedGridSize
- GridPartitioner
- ClampedGridPartitioner
- GridValue<T>
- IGridValues<T>
- IGridValueEnumerator<T>
- IGridIndexedValues<T>
- IGridIndexedValueEnumerator<T>
- IReadOnlyGrid<T>
- IGrid<T>
- Grid<T>
- Grid<T>.GridValues
- Grid<T>.GridIndexedValues
- ReadGrid<T>
System.Grid.ArrayBased
System.Table
UnityEngine
Collection
Singleton
Extensions
- BoundsExtensions
- ColorExtensions
- MatrixExtenions
- QuaternionExtensions
- RangeExtensions
- RayExtensions
- RectExtensions
- ResolutionExtensions
- VectorExtensions
Misc.
- HSBColor
- LEBColor
- Offset
- OffsetInt
- ScreenResolution
- ScreenResolution.Predefined
- Size
- SizeInt
- SingleLayer
- SortingLayerId
- GridVector
- SGridVector
No comments yet. Be the first!