- Color Extenstion Methods
SetThis(), With(), WithAlpha(), SetThisThis()
. - Math Extension Method for Double
Approximately()
to check if a double is close to another double. - Enumerable Extension Method
CountEnumerable()
to count the number of elements in an enumerable collection.
- Add Transform Extension method to reset local transform to default values.
Resolved method name conflicts of the following methods:
- Conflict:
TripleA.Extensions.Vector3.Set
withUnityEngine.Vector3.Set
Changed method name toVector3.SetThis
Example Usage:
Old:
Vector3 v = new Vector3(1, 2, 3); // Value of v = (1,2,3)
v.Set(y:0, z:0); // Sets the value of v to (1,0,0)
New:
Vector3 v = new Vector3(1, 2, 3); // Value of v = (1,2,3)
v.SetThis(y: 0,z: 0); // Sets the value of v to (1,0,0)
- Conflict:
TripleA.Extensions.Vector2.Set
withUnityEngine.Vector2.Set
Changed method name toVector2.SetThis
Example Usage:
Old:
Vector2 v = new Vector2(1, 2); // Value of v = (1,2)
v.Set(y:0); // Sets the value of v to (1,0)
New:
Vector3 v = new Vector3(1, 2, 3); // Value of v = (1,2,3)
v.SetThis(y: 0,z: 0); // Sets the value of v to (1,0,0)
- Commonly Used Observable Datatypes :
ObservableInt, ObservableFloat, ObservableBool
- Commonly Used Observable Collection :
ObservableQueue, ObservableStack
- New Event Channel System
- Moved
Observable<T>
to new file named GenericObservable.cs
NO CHANGES IN API
- Extension methods for unity
- Timer that uses low level unity player loop system for timers