Class ItemGrabberArm
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class ItemGrabberArm : ItemInstanceBehaviour
- Inheritance
-
ItemGrabberArm
- Inherited Members
-
- Extension Methods
-
Constructors
ItemGrabberArm()
Fields
attachedTo
public Rigidbody attachedTo
Field Value
- Rigidbody
breakForceStartEnd
public Vector2 breakForceStartEnd
Field Value
- Vector2
breakForceTransitionTime
public float breakForceTransitionTime
Field Value
- float
clawSpeed
Field Value
- float
closedAngle
Field Value
- float
grabPoint
public Transform grabPoint
Field Value
- Transform
joint
public ConfigurableJoint joint
Field Value
- ConfigurableJoint
jointLifeTime
public float jointLifeTime
Field Value
- float
leftClaw
public Transform leftClaw
Field Value
- Transform
leftClawRotator
public ItemGrabberArm.ClawRotator leftClawRotator
Field Value
- ItemGrabberArm.ClawRotator
onOffEntry
public OnOffEntry onOffEntry
Field Value
- OnOffEntry
playerHoldingItem
public Player playerHoldingItem
Field Value
- Player
rightClaw
public Transform rightClaw
Field Value
- Transform
rightClawRotator
public ItemGrabberArm.ClawRotator rightClawRotator
Field Value
- ItemGrabberArm.ClawRotator
wasOn
Field Value
- bool
Properties
ItemBodyPart
public Bodypart ItemBodyPart { get; }
Property Value
- Bodypart
Methods
AttachJoint(Rigidbody, bool)
public void AttachJoint(Rigidbody otherRig, bool lockRotation = false)
Parameters
otherRig
Rigidbody
lockRotation
bool
Awake()
ConfigItem(ItemInstanceData, PhotonView)
public override void ConfigItem(ItemInstanceData data, PhotonView playerView)
Parameters
data
ItemInstanceData
playerView
PhotonView
RPCA_AttachToItem(BinaryDeserializer)
public void RPCA_AttachToItem(BinaryDeserializer deserializer)
Parameters
deserializer
BinaryDeserializer
RPCA_AttachToPlayer(BinaryDeserializer)
public void RPCA_AttachToPlayer(BinaryDeserializer deserializer)
Parameters
deserializer
BinaryDeserializer
RPCA_DestroyJoint(BinaryDeserializer)
public void RPCA_DestroyJoint(BinaryDeserializer binaryDeserializer)
Parameters
binaryDeserializer
BinaryDeserializer
Start()
TryGrabItem(Collider)
public bool TryGrabItem(Collider hit)
Parameters
hit
Collider
Returns
- bool
TryGrabPlayer(Collider)
public bool TryGrabPlayer(Collider hit)
Parameters
hit
Collider
Returns
- bool
Update()