Added GTWeen

This commit is contained in:
Marco 2025-02-24 11:52:50 +01:00
commit 2036e4e748
152 changed files with 5889 additions and 7 deletions

View file

@ -0,0 +1,28 @@
namespace GTweens.Enums
{
/// <summary>
/// Specifies different modes for resetting the values of a tween animation.
/// </summary>
public enum ResetMode
{
/// <summary>
/// Resets the values to their initial state, as they were when the tween animation started.
/// </summary>
InitialValues,
/// <summary>
/// Resets the values by using the difference between initial and final values, effectively incrementing the new initial and final values.
/// </summary>
IncrementalValues,
/// <summary>
/// Each time reverses the animation initial and final values, in a ping-pong fashion.
/// </summary>
PingPong,
/// <summary>
/// Leaves the values unchanged, maintaining their current state.
/// </summary>
CurrentValues,
}
}

View file

@ -0,0 +1 @@
uid://rg4640a2ekfw

View file

@ -0,0 +1,18 @@
namespace GTweens.Enums
{
/// <summary>
/// Specifies different rotation modes for tweening operations.
/// </summary>
public enum RotationMode
{
/// <summary>
/// Rotates objects using the shortest distance between the initial and final angles.
/// </summary>
ShortestDistance,
/// <summary>
/// Rotates objects based on the total angular distance, which may involve multiple rotations.
/// </summary>
TotalDistance,
}
}

View file

@ -0,0 +1 @@
uid://rnjfaov7hxcd