Skip to content

Latest commit

 

History

History
94 lines (65 loc) · 2.29 KB

CHANGELOG.md

File metadata and controls

94 lines (65 loc) · 2.29 KB

[1.2.0] - 2025-01-13

Add New Extension Methods

Add:

  • 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.

[1.1.2] - 2024-10-14

Add Transform Extension Method

Add:

  • Add Transform Extension method to reset local transform to default values.

[1.1.1] - 2024-08-29

Resolved Method Name Conflicts

Change:

Resolved method name conflicts of the following methods:

  1. Conflict: TripleA.Extensions.Vector3.Set with UnityEngine.Vector3.Set
    Changed method name to Vector3.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)

  1. Conflict: TripleA.Extensions.Vector2.Set with UnityEngine.Vector2.Set
    Changed method name to Vector2.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)

[1.1.0] - 2024-08-24

New Event System and Observables Update

Add:

  • Commonly Used Observable Datatypes : ObservableInt, ObservableFloat, ObservableBool
  • Commonly Used Observable Collection : ObservableQueue, ObservableStack
  • New Event Channel System

Change:

  • Moved Observable<T> to new file named GenericObservable.cs

NO CHANGES IN API


[1.0.0] - 2024-08-16

First Release

  • Extension methods for unity
  • Timer that uses low level unity player loop system for timers