Example #1
0
 public Face()
 {
     Head     = new Head();
     Hair     = new Hair();
     Eyebrows = new Eyebrow[2];
     Eyes     = new Eye[2];
     Nose     = new Nose();
     Mouth    = new Mouth();
 }
Example #2
0
    public override void OnInspectorGUI()
    {
        DrawDefaultInspector();

        Eyebrow eyebrow = (Eyebrow)target;

        EditorGUILayout.PrefixLabel("Facial Emotion");
        eyebrow.emotion = EditorGUILayout.Slider(eyebrow.emotion, -1.0f, 1.0f);
    }
Example #3
0
 public override string GetFolderPath()
 {
     return(Eyebrow.GetFolderPath(CharacterRace));
 }