Table of Contents

Class FaceDatabase

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
[CreateAssetMenu(menuName = "Database/FaceDatabase", fileName = "FaceDatabase")]
public class FaceDatabase : SingletonAsset<FaceDatabase>, ISerializationCallbackReceiver
Inheritance
SerializedScriptableObject
FaceDatabase
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

Color

GetFace(byte)

public static string GetFace(byte index)

Parameters

index byte

Returns

string

GetRandomColorIndex()

public static byte GetRandomColorIndex()

Returns

byte

GetRandomFaceIndex()

public static byte GetRandomFaceIndex()

Returns

byte