DrawBodyPart() 보호된 정적인 메소드

protected static DrawBodyPart ( int shownBodyView, int i, Rect rect, BodyPartColor bodyPartColor ) : void
shownBodyView int
i int
rect UnityEngine.Rect
bodyPartColor BodyPartColor
리턴 void
예제 #1
0
 public static void DrawBodyParts(Rect rect, int shownBodyView, AvatarControl.BodyPartFeedback bodyPartCallback)
 {
     GUI.color = new Color(0.2f, 0.2f, 0.2f, 1f);
     if (AvatarControl.styles.Silhouettes[shownBodyView] != null)
     {
         GUI.DrawTexture(rect, AvatarControl.styles.Silhouettes[shownBodyView].image);
     }
     for (int i = 1; i < 9; ++i)
     {
         AvatarControl.DrawBodyPart(shownBodyView, i, rect, bodyPartCallback((BodyPart)i));
     }
 }