Class UseItem
Inheritance
object
UseItem
Namespace: Player
Assembly: cs.temp.dll.dll
Syntax
public class UseItem : MonoBehaviour
Fields
head
Declaration
public Transform head
Field Value
| Type | Description |
|---|---|
| Transform |
holdTime
Declaration
public float holdTime
Field Value
| Type | Description |
|---|---|
| float |
Methods
DropItem()
Declaration
public void DropItem()
IsHoldingItem()
Declaration
public bool IsHoldingItem()
Returns
| Type | Description |
|---|---|
| bool |
PickUpItem(GameObject)
Declaration
public void PickUpItem(GameObject item)
Parameters
| Type | Name | Description |
|---|---|---|
| GameObject | item |