Class MeshSockets
Collects and advertises the available mesh sockets to other scripts
Namespace: i5.VirtualAgents
Assembly: cs.temp.dll.dll
Syntax
public class MeshSockets : MonoBehaviour
Properties
TwoBoneIKConstraintLeftArm
Declaration
public TwoBoneIKConstraint TwoBoneIKConstraintLeftArm { get; set; }
Property Value
Type | Description |
---|---|
TwoBoneIKConstraint |
TwoBoneIKConstraintRightArm
Define the two bone IK constraints for the arms that is uses in the AgetPickUpTask
Declaration
public TwoBoneIKConstraint TwoBoneIKConstraintRightArm { get; set; }
Property Value
Type | Description |
---|---|
TwoBoneIKConstraint |
Methods
Attach(Item, MeshSockets.SocketId)
Attaches an item to the socket with the given ID
Declaration
public void Attach(Item item, MeshSockets.SocketId socketId)
Parameters
Type | Name | Description |
---|---|---|
Item | item | The item to attach |
MeshSockets.SocketId | socketId | The ID by which the socket can be found |
Detach(Item)
Detaches an item from its socket
Declaration
public void Detach(Item item)
Parameters
Type | Name | Description |
---|---|---|
Item | item | The item to detach |