Releases: Danny-vD/VDFramework
V2.3
V2.2
Updated target framework to DotStandard 2.1
Added
UNITY
CoroutineExtensions
Added methods for conditional execution of a coroutine
(Special thanks to @ByteChkR)
SHARED
Int32Extensions
A Ordinalize extension method that takes in a number and returns that number's ordinal version (only works with 0-16 at the moment)
TimerManager & TimerHandles
The system now supports passing in methods with parameters
Changed
SHARED
Renamed RandomItem -> RandomElement
V2.1
V2.0
Major change:
EventManager is now a static class which means you must now use
EventManager.AddListener<> instead of EventManager.Instance.AddListener<>
This breaks compatibility with any existing usages of the VDFramework.EventManager
Added:
SHARED: Utility.TimerUtil.TimerManager and Utility.TimerUtil.TimerHandle, these abstract the process of invoking a function after a certain amount of seconds. You just need to call the TimerManager.Update(double) yourself.
UNITY: Monobehaviours.TimerManagerUpdater a simple Monobehaviour that calls TimerManager.Update(double) in Update()
V1.1
Updates:
Remove the 'If Initialized' check when adding Event listeners using VDEvent.Listeners += listener, because it prevented adding any listeners if the EventSystem is not initialized, which would never happen if you only use this method.
Change the way transfom.DestroyChildrenImmediate destroys the children so that it works properly in the editor