Creates the AttachToBoxBehavior, used to attach UI to the closest face of the box to a camera
The transform node that should be attched to the mesh
The distance from the bottom of the face that the UI should be attached to (default: 0.15)
The distance away from the face of the mesh that the UI should be attached to (default: 0.15)
The name of the behavior
Attaches the AttachToBoxBehavior to the passed in mesh
The mesh that the specified node will be attached to
Detaches the behavior from the mesh
Initializes the behavior
Generated using TypeDoc
A behavior that when attached to a mesh will will place a specified node on the meshes face pointing towards the camera