Class Defib
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class Defib : ItemInstanceBehaviour
- Inheritance
-
Defib
- Inherited Members
-
- Extension Methods
-
Constructors
Defib()
Fields
activationPoint
public float activationPoint
Field Value
- float
attackForce
Field Value
- float
brightPart
public MeshRenderer brightPart
Field Value
- MeshRenderer
elapsedOn
Field Value
- float
forceCurve
public AnimationCurve forceCurve
Field Value
- AnimationCurve
lightBeam
public MeshRenderer lightBeam
Field Value
- MeshRenderer
m_batteryDisplay
public BatteryDisplay m_batteryDisplay
Field Value
- BatteryDisplay
m_batteryEntry
public BatteryEntry m_batteryEntry
Field Value
- BatteryEntry
m_light
Field Value
- Light
m_onOffEntry
public OnOffEntry m_onOffEntry
Field Value
- OnOffEntry
maxCharge
Field Value
- float
maxCharges
Field Value
- int
moveTime
Field Value
- float
onTime
Field Value
- float
playerHoldingItem
public Player playerHoldingItem
Field Value
- Player
startedDefibMove
public bool startedDefibMove
Field Value
- bool
trigger
public GameObject trigger
Field Value
- GameObject
Methods
ConfigItem(ItemInstanceData, PhotonView)
public override void ConfigItem(ItemInstanceData data, PhotonView playerView)
Parameters
data
ItemInstanceData
playerView
PhotonView
OnDefibTrigger(Collider, bool)
public void OnDefibTrigger(Collider other, bool debug = false)
Parameters
other
Collider
debug
bool
Update()