Skip to content

Conversation

@thestonefox
Copy link
Member

The CountdownTimer component now has a Pause and a Resume method allowing the timer to be paused and then resumed. There are additional events to notify when the timer is paused and resumed.

The CountdownTimer component now has a Pause and a Resume method
allowing the timer to be paused and then resumed. There are additional
events to notify when the timer is paused and resumed.
@thestonefox thestonefox changed the title feat(Utility): add pause/resume methods for countdown timer. Jan 1, 2023
The ability to provide smoothing data to the
TransformPosition/Rotation/Scale property modifiers has now been added
by providing a new abstract class that extends the restrictable modifier
and provides smoothing settings using SmoothDamp.

A custom Quaternion SmoothDamp algorithm has been added into the
Extension namespace to handle smoothing on rotations.
All of the tests that compare vectors or quaternions have now been
updated so they no longer use ToString to compare in the
Assert.AreEqual as this is not robust enough to always work. Instead
they all now use equality comparators.

All of the gameobjects created by the tests now also are named so it
is easier to see which test is running and where any cleanup issues
may be occurring.

The `UnityEngine.Assertions.Assert` has also been removed from the
tests as it is not required.

Any test that destroys the `subject` object on teardown has also been
updated to not do this as the subject gets destroyed automatically
when the `containingObject` GameObject gets destroyed.
There is a new property on the GameObjectCloner that allows defining
the name of the cloned object as by default it just gets named as
`<current_object_name>(Clone)` which may not be desirable so this
allows a simple way of just setting the name at edit time without
need for any code.
Previously, the WaitForEndOfFrame and WaitForFixedUpdate YieldEmitters
would only yield after one instruction by yielding immediately after
the current frame/fixed update.

This feature allows a number of frames to wait before actually calling
yield, meaning it is possible to wait n frames or n fixed update loops
before yielding.
@thestonefox thestonefox merged commit 2e97d85 into master Feb 8, 2023
@thestonefox thestonefox deleted the features-and-fixes branch February 8, 2023 16:16
@ExtendReality-Bot
Copy link
Member

🎉 This PR is included in version 2.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 participants