Table of Contents

Class Bed

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

Constructors

Bed()

public Bed()

Fields

lookBefore

public Vector2 lookBefore

Field Value

Vector2

m_CancelText

public string m_CancelText

Field Value

string

m_NotSleepyText

public string m_NotSleepyText

Field Value

string

m_SleepText

public string m_SleepText

Field Value

string

m_StartGameBody

public string m_StartGameBody

Field Value

string

m_StartGameConfirmText

public string m_StartGameConfirmText

Field Value

string

m_StartGameTitleText

public string m_StartGameTitleText

Field Value

string

playerInBed

public Player playerInBed

Field Value

Player

sinceSleep

public float sinceSleep

Field Value

float

targetLook

public Vector2 targetLook

Field Value

Vector2

view

public PhotonView view

Field Value

PhotonView

Methods

FixedUpdate()

public void FixedUpdate()

Interact(Player)

public override void Interact(Player player)

Parameters

player Player

LeaveBed()

public void LeaveBed()

RPCA_AcceptSleep(int)

[PunRPC]
public void RPCA_AcceptSleep(int playerID)

Parameters

playerID int

RPCA_LeaveBed()

[PunRPC]
public void RPCA_LeaveBed()

RPCM_RequestSleep(int)

[PunRPC]
public void RPCM_RequestSleep(int playerID)

Parameters

playerID int

RequestSleep(Player)

public void RequestSleep(Player player)

Parameters

player Player

Start()

public void Start()

Update()

public void Update()