- URP static tween methods no longer
private
(don't use copy-paste friends)
- Aggressively inline
static
methods for minor performance boost.
- Updated dependencies:
"com.unity.entities": "1.0.16"
"com.unity.burst": "1.8.8"
"com.unity.entities.graphics": "1.0.16"
- Elastic and Back eases no longer mapped to each other.
- Added ability to perform multiple component operations by using a
ComponentTypeSet
. (breaking change)
- Updated Unity to 2022.3 LTS
- Updated dependencies:
"com.unity.collections": "2.1.4"
"com.unity.entities": "1.0.11"
"com.unity.burst": "1.8.7"
"com.unity.entities.graphics": "1.0.11"
- Added additional spline alignment settings:
- can specify the axis of alignment; useful for keeping orientation, eg: 2d splines in 3d space.
- can specify a rotational offset for the new axis alignment modes.
- Spline Movement wasn't working due to premature cleanup
- Fixed an issue where tweens were prematurely destroyed if you tried to stop and play tweens on the same frame.
TweenState.LOOP_COUNT_INFINITE
is actuallypublic
now. Use this for denoting that your tween/timeline is infinite looping.
- Slightly optimized
Tween.Controls.Stop
by skipping the step of creating a stop command. We now directly create a destroy command. This should allow the tween to stop earlier than the flow before. Tween.Controls.StopAll(ref EntityManager, in Entity)
now uses this more optimized stop flow as well.- Timeline
OnComplete
component operations are now also performed when a timeline is stopped prematurely.
- Fixed an issue where the new timeline id generation was not burst compatible. (remember kids, always test your code.)
- Timelines should now properly wait for previous tweens (of the same type) to be cleaned up before trying to play the new one.
- Timeline Id generation now using more unique hashcodes.
- Updated Unity DOTS
- com.unity.collections:
2.1.0-pre.11
to2.1.0-pre.18
- com.unity.entities:
1.0.0-pre.47
to1.0.0-pre.65
- com.unity.burst:
1.8.3
to1.8.4
- com.unity.entities.graphics:
1.0.0-pre.44
to1.0.0-pre.65
- com.unity.collections:
- Jobless tween generation now properly cleans up commands.
- TweenDestroySystem no longer continuously runs when no destroy commands are present.
- TweenCommands should now generate more unique ids. Ids are now
uint
instead ofint
.
- Tween Commands now return
TweenIds
so that you can control them individually. - Added ability to pause/resume/stop tweens individually using their
tweenId
;
- Generate and Destroy systems optimized to no longer try to schedule jobs without commands, reducing CPU overhead.
- Fixed an issue with one of the Timeline Play methods being not burst compatible.
- Timelines are now unmanaged and burst compatible.
- Unity Spline movement support
- reverted previous ignore of meta files
- Added conditional compilation for HDRP
#if DOTS_TWEEN_HDRP
- A bunch of HDRP Tweens
- Fixed current value checking with URP Tween functions
- Added conditional compilation for URP
#if DOTS_TWEEN_URP
- Updated ParallelWriter overloads to have
sortKey
beforeentity
TweenParams
is now the last function parameter of Tween Commandsduration
is now a required parameter when creating a tween
- A bunch of URP tweens
- Base Color Alpha Fading
- Specular Color
- Emission Color
- Metallic
- Cutoff
- Bump Scale
- Occlusion Strength
- Smoothness
- Cleaned up and organized everything into a better folder structure (in my opinion at least)
- Now using
static partial class
for the tween shortcuts so we can separate them into different files.
- Updated Namespaces and tween function naming.
- The
Tween
static class is now seperated into categories.Tween.Move()
->Tween.Move.FromTo()
- Timelines (called Sequences in DOTween)
- This also introduces a new SystemGroup
TimelineSimulationSystemGroup
; runs beforeTweenSimulationSystemGroup
- Can be accessed using
Tween.Timelines
- This also introduces a new SystemGroup
- Ability to tween
From
andTo
. Example:Tween.Move.To()
- The original function is now called
FromTo
. Example:Tween.Rotate.FromTo()
- The original function is now called
- Ability to perform "Component Operations" when starting and/or completing a tween.
- Added URP Material Base Colour Tinting
- Add Eases from easings.net
- Removed
EaseDesc
- Removed
EaseExponent
- Add
[BurstCompile]
to everything (prayge)
- Start of Dyon's Fork
- Namespace is now
DotsTween
- Runtime reference is now
DotsTween.Runtime
- Runtime reference is now
- Dependency upgrade
- "com.unity.collections": "2.1.0-pre.6",
- "com.unity.entities": "1.0.0-pre.15",
- "com.unity.burst": "1.8.2",
- "com.unity.mathematics": "1.2.6"
- Stress Test sample now using subscene
- Dependency upgrade
- Entities 0.17.0-preview.42 (from 0.14.0-preview.18)
- Burst 1.4.9 (from 1.3.6)
- Reflection data of generic jobs has not automatically initialized (#1)
- Ended tweening entity is set back to start value (#2)
- Multiple TweenStates are not destroyed properly at the same time
TweenDestroySystem.DestroyJob
now usesBufferTypeHandle
instead ofBufferFromEntity
- Improve performance by marking tweens to be destroyed with
TweenDestroyCommand
instead ofTweenState.LoopCount == 255
- An exception in Tiny builds when
new TTweenInfo()
inTweenGenerateSystem
invokesActivator.CreateInstance()
- Add
in
modifiers
- Fix an ambiguous reference for
SpriteRenderer
when Tiny 0.31.0 and 2D Entities both installed
- Tween parameter: Start delay
- Tween support for
SpriteRenderer.Color
in Tiny (Tween.Tint()
) - Support for Tiny 0.29.0 and above
- Unit tests
Ease_Delayed
- Generation, application and destruction of
Tween.Tint()
EaseDesc
shortcuts (with exponent = 2)EaseDesc.Linear
EaseDesc.SmoothStart
EaseDesc.SmoothStop
EaseDesc.SmoothStep
- Set WriteGroup for
Translation
,Rotation
andScale
- Replace
TweenState.LOOP_COUNT_INFINITE
withTween.Infinite
- Parallel writing with
[NativeDisableContainerSafetyRestriction]
inTweenDestroySystem
Tween
functions overloads takingTweenParams
TweenParams
default values in constructorTweenParams
overridesToString()
- Unit tests
- Ease
- Pause
- Resume
- Stop
- Ping-pong
- Loop
- Generate, apply and destroy
Translation
Rotation
NonUniformScale
TweenParams
parameters order in constructorTweenStopSystem
schedules structural changes toEndSimulationEntityCommandBufferSystem
(wasBeginSimulationEntityCommandBufferSystem
)- Systems use
World
(wasWorld.DefaultGameObjectInjectionWorld
)
- GitHub Actions to build the default scene for Win64
Editor.BuildUtils
for building the default scene with GitHub Actions- Sample: Stress Test
- Rename buffer element
Tween
toTweenState
- Rename static class
EntityTween
toTween
- Replace assertions with if-else checks to be compatible to Burst
- Typo "Crossfade"
Ease
utilities for interpolationTranslation
,Rotation
andScale
tween support- Pause, resume and stop tweens on the entity