Class MeshSocket
Socket on the agent to which items can be attached, e.g., for hands or item belts on the agent
Namespace: i5.VirtualAgents
Assembly: cs.temp.dll.dll
Syntax
public class MeshSocket : MonoBehaviour
Properties
SocketId
Declaration
public MeshSockets.SocketId SocketId { get; }
Property Value
| Type | Description |
|---|---|
| MeshSockets.SocketId |
Methods
Attach(Item)
Attaches an item to the mesh socket based on the definition which is encoded in hte item
Declaration
public void Attach(Item item)
Parameters
| Type | Name | Description |
|---|---|---|
| Item | item | The item to attach to the socket |
Detach(Item)
Detaches the given item from the socket
Declaration
public void Detach(Item item)
Parameters
| Type | Name | Description |
|---|---|---|
| Item | item | Detaches the item from the socket |