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