Truncates edges of the sprite to the specified percentage. 1 == no truncation 0 == complete truncation.
Game Object
The game object to work with
Truncate Left
The left truncate value
Truncate Right
The right truncate value
Truncate Top
The top truncate value
Truncate bottom
The bottom truncate value
Every frame
Work every frame so that you can change the truncates values without leaving the state
Warning:
If you try to truncate left and right together OR top and bottom together, it will not work as expected. You can truncate only one side at a time.