Class ItemHugger
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class ItemHugger : ItemInstanceBehaviour
- Inheritance
-
ItemHugger
- Inherited Members
-
- Extension Methods
-
Constructors
ItemHugger()
Fields
fullHealTime
public float fullHealTime
Field Value
- float
healInterval
public float healInterval
Field Value
- float
hugBoxDistance
public float hugBoxDistance
Field Value
- float
hugEmote
Field Value
- Item
hugForce
[SerializeField]
public float hugForce
Field Value
- float
onOffEntry
public OnOffEntry onOffEntry
Field Value
- OnOffEntry
playedEmote
Field Value
- bool
playerHoldingItem
public Player playerHoldingItem
Field Value
- Player
timeSinceLastHeal
public float timeSinceLastHeal
Field Value
- float
trigger
public GameObject trigger
Field Value
- GameObject
Properties
PlayerEmotes
public PlayerEmotes PlayerEmotes { get; }
Property Value
- PlayerEmotes
Methods
ConfigItem(ItemInstanceData, PhotonView)
public override void ConfigItem(ItemInstanceData data, PhotonView playerView)
Parameters
data
ItemInstanceData
playerView
PhotonView
Start()
TriggerSaysTriggerStay(Collider)
public void TriggerSaysTriggerStay(Collider other)
Parameters
other
Collider
Update()