Class Item
Represents an item which can be picked up by an agent
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
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
Methods
IsDropped()
Declaration