public void OnGUI() { if (show) { GUI.DrawTexture(upperFaceRect, upperFaceTex); CheckUpperFace(); upperFace.action = upperFaceAction; upperFace.power = upperFacePower; upperFace.OnGUI(); if (upperFace.power < 0.1F) { CheckEye(); eye.action = eyeAction; eye.OnGUI(); } GUI.DrawTexture(midFaceRect, midFaceTex); CheckLowerFace(); lowerFace.action = lowerFaceAction; lowerFace.power = lowerFacePower; lowerFace.OnGUI(); } }