Tween Monitor
The Tween monitor displays information about all running tweens. It's handy to use when creating tweens because you can see every detail about the tween and its progress.
If there are many tweens running at the same time this window WILL affect performance and can cause stuttering.
Here's an example of a single tween:
Basic Information about the Tweener itself includes:
- How many Tweens and Sequences are running.
- The size of the 'object' pools for Tweens and Sequences.
This is followed by a list of the 'ToString' methods of each Tween and Sequence.
Let's break up this Tween status string to see what it means:
-
Tween ID and the name of its parent TPT tile.
-
If the Tween is part of a sequence it's sequence ID is next.
-
The name, location, and Tilemap for the parent TPT tile and the tile's Instance ID and GUID.
-
Sanity Informaition: Sane means that the important variables haven't suddenly become null.
- A TPT tile can be deleted during a tween so this is important!
- Invalid true means that the tween is going to be deleted:
- It's complete
- It's become 'Unsane'
-
The Tween's Duration (how long it takes to complete)
-
How many loops.
-
The progress: ranges between 0 and 1.
-
What type of loop?
-
If Ping-Pong is the loop in the forward (ping) or backward (pong) part of the loop?
-
How many loops have completed.
-
What time the Tween started.
-
What's being tweened (EaseTarget)
-
Starting and current values
This is a lot of information but it's very structured and easy to understand after a while.