Next: , Previous: , Up: Interaction.Output   [Contents][Index]


9.2.5 MessageParentRelation

Component: MessageParentRelation

This component allows something to be attached/detatched from a given parent when receiving the appropriate messages

Field of MessageParentRelation: GameObject targetParent

Parent we will attach/detatch from

Message on MessageParentRelation: Parent ()

Parents the ’Target’ to the ’Target Parent’

Message on MessageParentRelation: Unparent ()

Detatches the ’Target’ from the ’Target Parent’

Message on MessageParentRelation: ToggleParent ()

Reverses the parented/unparented status of the ’Target’

Field of MessageParentRelation: GameObject targetParent

Parent we will attach/detatch from

Message on MessageParentRelation: Parent ()

Parents the ’Target’ to the ’Target Parent’

Message on MessageParentRelation: Unparent ()

Detatches the ’Target’ from the ’Target Parent’

Message on MessageParentRelation: ToggleParent ()

Reverses the parented/unparented status of the ’Target’