Search Results for

    Show / Hide Table of Contents

    Class Item

    Represents an item which can be picked up by an agent

    Inheritance
    Object
    Item
    Namespace: i5.VirtualAgents
    Assembly: cs.temp.dll.dll
    Syntax
    public class Item : MonoBehaviour

    Fields

    dropEvent

    This event can be listend to, to get notified when the item is dropped

    Declaration
    public UnityEvent dropEvent
    Field Value
    Type Description
    UnityEvent

    Properties

    CanBePickedUp

    Declaration
    public bool CanBePickedUp { get; set; }
    Property Value
    Type Description
    Boolean

    GrabTarget

    grab is where IK of the Hand will be applied to, for example a handle of a cup. Initially it is the same as the object itself.

    Declaration
    public Transform GrabTarget { get; }
    Property Value
    Type Description
    Transform

    IsPickedUp

    Declaration
    public bool IsPickedUp { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    IsDropped()

    Declaration
    public void IsDropped()
    In This Article
    Back to top Documentation of the Virtual Agents Framework