tk2dSpriteAttachPoint Class Reference

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...

List of all members.

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.

Detailed Description

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.


Member Data Documentation

List<Transform> tk2dSpriteAttachPoint.attachPoints = new List<Transform>()

A list of live attach points.

When set, all inactive attach points (attach points that don't exist on a particular frame / sprite) will be disabled.