Class FaceDatabase
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
[CreateAssetMenu(menuName = "Database/FaceDatabase", fileName = "FaceDatabase")]
public class FaceDatabase : SingletonAsset<FaceDatabase>, ISerializationCallbackReceiver
- Inheritance
-
SerializedScriptableObjectFaceDatabase
- Implements
-
ISerializationCallbackReceiver
- Inherited Members
-
SerializedScriptableObject.OnAfterDeserialize()SerializedScriptableObject.OnBeforeSerialize()
- Extension Methods
Constructors
FaceDatabase()
public FaceDatabase()
Fields
FaceColors
public Color[] FaceColors
Field Value
- Color[]
Faces
public string[] Faces
Field Value
- string[]
Methods
GetColor(byte)
public static Color GetColor(byte index)
Parameters
index
byte
Returns
GetFace(byte)
public static string GetFace(byte index)
Parameters
index
byte
Returns
GetRandomColorIndex()
public static byte GetRandomColorIndex()
Returns
GetRandomFaceIndex()
public static byte GetRandomFaceIndex()