Table of Contents

Class PlayerItemsFake

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
public class PlayerItemsFake : MonoBehaviour
Inheritance
PlayerItemsFake
Inherited Members
Extension Methods

Constructors

PlayerItemsFake()

public PlayerItemsFake()

Fields

fakeFlashLight

public FakeFlashLight fakeFlashLight

Field Value

FakeFlashLight

itemBodypart

public Bodypart itemBodypart

Field Value

Bodypart

itemCopy

public GameObject itemCopy

Field Value

GameObject

once

public bool once

Field Value

bool

player

public Player 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()

public void LateUpdate()

Start()

public void Start()