Table of Contents

Class Pickup

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
public class Pickup : Interactable
Inheritance
Pickup
Inherited Members
Extension Methods

Constructors

Pickup()

public Pickup()

Fields

instanceData

public ItemInstanceData instanceData

Field Value

ItemInstanceData

itemInstance

public ItemInstance itemInstance

Field Value

ItemInstance

lastPos

public Vector3 lastPos

Field Value

Vector3

m_itemID

public byte m_itemID

Field Value

byte

m_photonView

public PhotonView m_photonView

Field Value

PhotonView

m_rigidbody

public Rigidbody m_rigidbody

Field Value

Rigidbody

Properties

Rigidbody

public Rigidbody Rigidbody { get; }

Property Value

Rigidbody

Methods

Awake()

public override void Awake()

ConfigurePickup(byte, ItemInstanceData)

public void ConfigurePickup(byte itemID, ItemInstanceData data)

Parameters

itemID byte
data ItemInstanceData

ConfigurePickup(byte, ItemInstanceData, Vector3, Vector3)

public void ConfigurePickup(byte itemID, ItemInstanceData data, Vector3 vel, Vector3 angVel)

Parameters

itemID byte
data ItemInstanceData
vel Vector3
angVel Vector3

ForceSync()

public void ForceSync()

Interact(Player)

public override void Interact(Player player)

Parameters

player Player

OnDisable()

public void OnDisable()

OnEnable()

public void OnEnable()

OnEndHover(Player)

public override void OnEndHover(Player player)

Parameters

player Player

OnStartHover(Player)

public override void OnStartHover(Player player)

Parameters

player Player

RPC_ConfigurePickup(byte, byte[])

[PunRPC]
public void RPC_ConfigurePickup(byte itemID, byte[] data)

Parameters

itemID byte
data byte[]

RPC_FailedToPickup()

[PunRPC]
public void RPC_FailedToPickup()

RPC_ForceSync(Vector3, Quaternion)

[PunRPC]
public void RPC_ForceSync(Vector3 pos, Quaternion rot)

Parameters

pos Vector3
rot Quaternion

RPC_Remove()

[PunRPC]
public void RPC_Remove()

RPC_RequestPickup(int)

[PunRPC]
public void RPC_RequestPickup(int photonView)

Parameters

photonView int

RPC_SetVelocity(Vector3, Vector3)

[PunRPC]
public void RPC_SetVelocity(Vector3 vel, Vector3 angVel)

Parameters

vel Vector3
angVel Vector3

Start()

public void Start()