Table of Contents

Class PlayerCustomizer

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

Constructors

PlayerCustomizer()

public PlayerCustomizer()

Fields

applyButton

public Button applyButton

Field Value

Button

applySound

public SFX_Instance applySound

Field Value

SFX_Instance

backSound

public SFX_Instance backSound

Field Value

SFX_Instance

biggerFaceButton

public Button biggerFaceButton

Field Value

Button

clearHatButton

public Button clearHatButton

Field Value

Button

clickSound

public SFX_Instance clickSound

Field Value

SFX_Instance

colorSelectorPrefab

public GameObject colorSelectorPrefab

Field Value

GameObject

colorsRoot

public GameObject colorsRoot

Field Value

GameObject

colorsToPickFrom

public List<Color> colorsToPickFrom

Field Value

List<Color>

enterSound

public SFX_Instance enterSound

Field Value

SFX_Instance

faceSizeMinMax

public Vector2 faceSizeMinMax

Field Value

Vector2

faceSizeStepCount

public int faceSizeStepCount

Field Value

int

faceText

public TextMeshProUGUI faceText

Field Value

TextMeshProUGUI

hatAtStart

public Hat hatAtStart

Field Value

Hat

hatNameText

public TextMeshProUGUI hatNameText

Field Value

TextMeshProUGUI

headColor

public ProceduralImage headColor

Field Value

ProceduralImage

leaveSound

public SFX_Instance leaveSound

Field Value

SFX_Instance

leftHatButton

public Button leftHatButton

Field Value

Button

pastButton

public Button pastButton

Field Value

Button

playerInTerminal

public Player playerInTerminal

Field Value

Player

quitButton

public Button quitButton

Field Value

Button

rightHatButton

public Button rightHatButton

Field Value

Button

rotateLeftButton

public Button rotateLeftButton

Field Value

Button

rotateRightButton

public Button rotateRightButton

Field Value

Button

rotateSound

public SFX_Instance rotateSound

Field Value

SFX_Instance

selectedColor

public ColorSelector selectedColor

Field Value

ColorSelector

selectedHat

public Hat selectedHat

Field Value

Hat

sizeSound

public SFX_Instance sizeSound

Field Value

SFX_Instance

smallerFaceButton

public Button smallerFaceButton

Field Value

Button

startColorIndex

public int startColorIndex

Field Value

int

startFaceRotation

public float startFaceRotation

Field Value

float

startFaceSize

public float startFaceSize

Field Value

float

startFaceText

public string startFaceText

Field Value

string

startHeadColor

public Color startHeadColor

Field Value

Color

typeSound

public SFX_Instance typeSound

Field Value

SFX_Instance

unlockedHats

public List<int> unlockedHats

Field Value

List<int>

view_g

public PhotonView view_g

Field Value

PhotonView

visorFaceSizeMinMax

public Vector2 visorFaceSizeMinMax

Field Value

Vector2

Properties

FaceRotation

public float FaceRotation { get; set; }

Property Value

float

FaceSize

public float FaceSize { get; set; }

Property Value

float

HasPlayerInTerminal

public bool HasPlayerInTerminal { get; }

Property Value

bool

SelectedColor

public ColorSelector SelectedColor { get; set; }

Property Value

ColorSelector

SelectedHat

public Hat SelectedHat { get; set; }

Property Value

Hat

Methods

Awake()

public void Awake()

EnterTerminal(PhotonView)

public void EnterTerminal(PhotonView playerView)

Parameters

playerView PhotonView

FaceSizeUiToVisor(float)

public float FaceSizeUiToVisor(float uiSize)

Parameters

uiSize float

Returns

float

FaceSizeVisorToUi(float)

public float FaceSizeVisorToUi(float visorSize)

Parameters

visorSize float

Returns

float

OnApply()

public void OnApply()

OnChangeFaceSize(bool)

public void OnChangeFaceSize(bool smaller)

Parameters

smaller bool

OnChangeHat(bool)

public void OnChangeHat(bool right)

Parameters

right bool

OnDestroy()

public void OnDestroy()

OnQuit()

public void OnQuit()

OnRotate(bool)

public void OnRotate(bool right)

Parameters

right bool

RCP_SetFaceText(string)

[PunRPC]
public void RCP_SetFaceText(string text)

Parameters

text string

RPCA_ChangeFaceSize(bool)

[PunRPC]
public void RPCA_ChangeFaceSize(bool smaller)

Parameters

smaller bool

RPCA_EnterTerminal(int)

[PunRPC]
public void RPCA_EnterTerminal(int playerId)

Parameters

playerId int

RPCA_PickColor(int)

[PunRPC]
public void RPCA_PickColor(int childNumber)

Parameters

childNumber int

RPCA_PickHat(int)

[PunRPC]
public void RPCA_PickHat(int hatIndex)

Parameters

hatIndex int

RPCA_PlayerLeftTerminal(bool)

[PunRPC]
public void RPCA_PlayerLeftTerminal(bool apply)

Parameters

apply bool

RPCA_RotateFaceText(bool)

[PunRPC]
public void RPCA_RotateFaceText(bool right)

Parameters

right bool

RPCA_SyncEverything(int, int, string, float, float, int)

[PunRPC]
public void RPCA_SyncEverything(int playerId, int colorIndex, string faceText, float faceRotation, float faceSize, int hatIndex)

Parameters

playerId int
colorIndex int
faceText string
faceRotation float
faceSize float
hatIndex int

RPCM_RequestEnterTerminal(int)

[PunRPC]
public void RPCM_RequestEnterTerminal(int playerId)

Parameters

playerId int

RemoveNavigation()

public void RemoveNavigation()

RunTerminal()

public void RunTerminal()

SpawnColors()

public void SpawnColors()

Update()

public void Update()