Files
Crash-Course/Documentation/api/Player.UseItem.yml

216 lines
4.8 KiB
YAML
Raw Normal View History

2025-04-16 19:20:36 -04:00
### YamlMime:ManagedReference
items:
2025-04-16 19:57:54 -04:00
- uid: Player.UseItem
commentId: T:Player.UseItem
2025-04-16 19:20:36 -04:00
id: UseItem
2025-04-16 19:57:54 -04:00
parent: Player
2025-04-16 19:20:36 -04:00
children:
2025-04-16 19:57:54 -04:00
- Player.UseItem.DropItem
- Player.UseItem.head
- Player.UseItem.holdTime
- Player.UseItem.IsHoldingItem
- Player.UseItem.PickUpItem(GameObject)
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: UseItem
nameWithType: UseItem
2025-04-16 19:57:54 -04:00
fullName: Player.UseItem
2025-04-16 19:20:36 -04:00
type: Class
source:
id: UseItem
path: ''
2025-04-17 18:32:27 -04:00
startLine: 2947
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-16 19:20:36 -04:00
syntax:
content: 'public class UseItem : MonoBehaviour'
content.vb: Public Class UseItem Inherits MonoBehaviour
inheritance:
- System.Object
2025-04-16 19:57:54 -04:00
- uid: Player.UseItem.holdTime
commentId: F:Player.UseItem.holdTime
2025-04-16 19:20:36 -04:00
id: holdTime
2025-04-16 19:57:54 -04:00
parent: Player.UseItem
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: holdTime
nameWithType: UseItem.holdTime
2025-04-16 19:57:54 -04:00
fullName: Player.UseItem.holdTime
2025-04-16 19:20:36 -04:00
type: Field
source:
id: holdTime
path: ''
2025-04-17 18:32:27 -04:00
startLine: 2953
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-16 19:20:36 -04:00
syntax:
content: public float holdTime
return:
type: System.Single
content.vb: Public holdTime As Single
2025-04-16 19:57:54 -04:00
- uid: Player.UseItem.head
commentId: F:Player.UseItem.head
2025-04-16 19:20:36 -04:00
id: head
2025-04-16 19:57:54 -04:00
parent: Player.UseItem
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: head
nameWithType: UseItem.head
2025-04-16 19:57:54 -04:00
fullName: Player.UseItem.head
2025-04-16 19:20:36 -04:00
type: Field
source:
id: head
path: ''
2025-04-17 18:32:27 -04:00
startLine: 2956
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-16 19:20:36 -04:00
syntax:
content: public Transform head
return:
type: Global.Transform
content.vb: Public head As Transform
2025-04-16 19:57:54 -04:00
- uid: Player.UseItem.PickUpItem(GameObject)
commentId: M:Player.UseItem.PickUpItem(GameObject)
2025-04-16 19:20:36 -04:00
id: PickUpItem(GameObject)
2025-04-16 19:57:54 -04:00
parent: Player.UseItem
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: PickUpItem(GameObject)
nameWithType: UseItem.PickUpItem(GameObject)
2025-04-16 19:57:54 -04:00
fullName: Player.UseItem.PickUpItem(GameObject)
2025-04-16 19:20:36 -04:00
type: Method
source:
id: PickUpItem
path: ''
2025-04-17 18:32:27 -04:00
startLine: 2986
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-16 19:20:36 -04:00
syntax:
content: public void PickUpItem(GameObject item)
parameters:
- id: item
type: Global.GameObject
content.vb: Public Sub PickUpItem(item As GameObject)
2025-04-16 19:57:54 -04:00
overload: Player.UseItem.PickUpItem*
- uid: Player.UseItem.DropItem
commentId: M:Player.UseItem.DropItem
2025-04-16 19:20:36 -04:00
id: DropItem
2025-04-16 19:57:54 -04:00
parent: Player.UseItem
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: DropItem()
nameWithType: UseItem.DropItem()
2025-04-16 19:57:54 -04:00
fullName: Player.UseItem.DropItem()
2025-04-16 19:20:36 -04:00
type: Method
source:
id: DropItem
path: ''
2025-04-17 18:32:27 -04:00
startLine: 3008
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-16 19:20:36 -04:00
syntax:
content: public void DropItem()
content.vb: Public Sub DropItem()
2025-04-16 19:57:54 -04:00
overload: Player.UseItem.DropItem*
- uid: Player.UseItem.IsHoldingItem
commentId: M:Player.UseItem.IsHoldingItem
2025-04-16 19:20:36 -04:00
id: IsHoldingItem
2025-04-16 19:57:54 -04:00
parent: Player.UseItem
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: IsHoldingItem()
nameWithType: UseItem.IsHoldingItem()
2025-04-16 19:57:54 -04:00
fullName: Player.UseItem.IsHoldingItem()
2025-04-16 19:20:36 -04:00
type: Method
source:
id: IsHoldingItem
path: ''
2025-04-17 18:32:27 -04:00
startLine: 3037
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Player
2025-04-16 19:20:36 -04:00
syntax:
content: public bool IsHoldingItem()
return:
type: System.Boolean
content.vb: Public Function IsHoldingItem() As Boolean
2025-04-16 19:57:54 -04:00
overload: Player.UseItem.IsHoldingItem*
2025-04-16 19:20:36 -04:00
references:
2025-04-16 19:57:54 -04:00
- uid: Player
commentId: N:Player
name: Player
nameWithType: Player
fullName: Player
2025-04-16 19:20:36 -04:00
- uid: System.Object
commentId: T:System.Object
parent: System
isExternal: true
name: object
nameWithType: object
fullName: object
nameWithType.vb: Object
fullName.vb: Object
name.vb: Object
- uid: System
commentId: N:System
isExternal: true
name: System
nameWithType: System
fullName: System
- uid: System.Single
commentId: T:System.Single
parent: System
isExternal: true
name: float
nameWithType: float
fullName: float
nameWithType.vb: Single
fullName.vb: Single
name.vb: Single
- uid: Global.Transform
isExternal: true
name: Transform
nameWithType: Transform
fullName: Transform
2025-04-16 19:57:54 -04:00
- uid: Player.UseItem.PickUpItem*
commentId: Overload:Player.UseItem.PickUpItem
2025-04-16 19:20:36 -04:00
name: PickUpItem
nameWithType: UseItem.PickUpItem
2025-04-16 19:57:54 -04:00
fullName: Player.UseItem.PickUpItem
2025-04-16 19:20:36 -04:00
- uid: Global.GameObject
isExternal: true
name: GameObject
nameWithType: GameObject
fullName: GameObject
2025-04-16 19:57:54 -04:00
- uid: Player.UseItem.DropItem*
commentId: Overload:Player.UseItem.DropItem
2025-04-16 19:20:36 -04:00
name: DropItem
nameWithType: UseItem.DropItem
2025-04-16 19:57:54 -04:00
fullName: Player.UseItem.DropItem
- uid: Player.UseItem.IsHoldingItem*
commentId: Overload:Player.UseItem.IsHoldingItem
2025-04-16 19:20:36 -04:00
name: IsHoldingItem
nameWithType: UseItem.IsHoldingItem
2025-04-16 19:57:54 -04:00
fullName: Player.UseItem.IsHoldingItem
2025-04-16 19:20:36 -04:00
- uid: System.Boolean
commentId: T:System.Boolean
parent: System
isExternal: true
name: bool
nameWithType: bool
fullName: bool
nameWithType.vb: Boolean
fullName.vb: Boolean
name.vb: Boolean