Class PlayerItemsFake
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class PlayerItemsFake : MonoBehaviour
- Inheritance
-
PlayerItemsFake
- Inherited Members
-
- Extension Methods
-
Constructors
PlayerItemsFake()
Fields
fakeFlashLight
public FakeFlashLight fakeFlashLight
Field Value
- FakeFlashLight
itemBodypart
public Bodypart itemBodypart
Field Value
- Bodypart
itemCopy
public GameObject itemCopy
Field Value
- GameObject
once
Field Value
- bool
player
Field Value
- Player
targetHandGizmo
public Transform targetHandGizmo
Field Value
- Transform
Properties
CurrentItem
public ItemInstance CurrentItem { get; }
Property Value
- ItemInstance
Methods
Equip(ItemDescriptor, GameObject)
public void Equip(ItemDescriptor itemDescriptor, GameObject fakeItemGo)
Parameters
itemDescriptor
ItemDescriptor
fakeItemGo
GameObject
FixedUpdate()
public void FixedUpdate()
GetSpawnPos(Item)
public Vector3 GetSpawnPos(Item item)
Parameters
item
Item
Returns
- Vector3
GetSpawnRot(Item)
public Quaternion GetSpawnRot(Item item)
Parameters
item
Item
Returns
- Quaternion
LateUpdate()
Start()