Sprite Attach Point reference implementation Creates and manages a list of child gameObjects, with data for these sourced from the SpriteDefinition.AttachPoint. Position and rotation are supported. More...
Public Attributes | |
| List< Transform > | attachPoints = new List<Transform>() |
| A list of live attach points. | |
| bool | deactivateUnusedAttachPoints = false |
| When set, all inactive attach points (attach points that don't exist on a particular frame / sprite) will be disabled. | |
Sprite Attach Point reference implementation Creates and manages a list of child gameObjects, with data for these sourced from the SpriteDefinition.AttachPoint. Position and rotation are supported.
| List<Transform> tk2dSpriteAttachPoint.attachPoints = new List<Transform>() |
A list of live attach points.
| bool tk2dSpriteAttachPoint.deactivateUnusedAttachPoints = false |
When set, all inactive attach points (attach points that don't exist on a particular frame / sprite) will be disabled.