Class PlayerVisor
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class PlayerVisor : MonoBehaviour
- Inheritance
-
PlayerVisor
- Inherited Members
- Extension Methods
Constructors
PlayerVisor()
public PlayerVisor()
Fields
Emis
public static readonly int Emis
Field Value
bannedWords
public string[] bannedWords
Field Value
- string[]
hue
public Optionable<float> hue
Field Value
letterLookAlikes
public Dictionary<string, List<string>> letterLookAlikes
Field Value
m_material
public Material m_material
Field Value
m_playedDeadAnim
public bool m_playedDeadAnim
Field Value
m_player
public Player m_player
Field Value
m_startEmission
public float m_startEmission
Field Value
visorColor
public Optionable<Color> visorColor
Field Value
visorColorIndex
public int visorColorIndex
Field Value
visorFaceText
[FormerlySerializedAs("visorTextMesh")]
public TextMeshPro visorFaceText
Field Value
- TextMeshPro
visorMaterialIndex
public int visorMaterialIndex
Field Value
visorRenderer
public Renderer visorRenderer
Field Value
Properties
FaceRotation
public float FaceRotation { get; set; }
Property Value
FaceSize
public float FaceSize { get; set; }
Property Value
Methods
ApplyVisorColor(Color)
public void ApplyVisorColor(Color color)
Parameters
color
Color
Awake()
public void Awake()
DeadAnim()
public IEnumerator DeadAnim()
Returns
GetHueFromColor(Color)
public static float GetHueFromColor(Color c)
Parameters
c
Color
Returns
LoadFaceFromPlayerPrefs()
public bool LoadFaceFromPlayerPrefs()
Returns
MakeSuperList()
public void MakeSuperList()
RPCA_SetAllFaceSettings(float, int, string, float, float)
[PunRPC]
public void RPCA_SetAllFaceSettings(float hue, int colorIndex, string faceText, float faceRotation, float faceSize)
Parameters
RPCA_SetVisorText(string)
[PunRPC]
public void RPCA_SetVisorText(string text)
Parameters
text
string
SafetyCheckVisorText(string)
public string SafetyCheckVisorText(string text)
Parameters
text
string
Returns
SaveFaceToPlayerPrefs()
public void SaveFaceToPlayerPrefs()
SetAllFaceSettings(float, int, string, float, float)
public void SetAllFaceSettings(float hue, int colorIndex, string faceText, float faceRotation, float faceSize)
Parameters
SetEmission(float)
public void SetEmission(float value)
Parameters
value
float
SetVisorColor(float)
[PunRPC]
public void SetVisorColor(float h)
Parameters
h
float
Start()
public IEnumerator Start()
Returns
Update()
public void Update()