고다경

RESULT 에서 운동횟수 보여주기

......@@ -60,7 +60,9 @@ public class Move : MonoBehaviour
public Text Great;
public Text Trainner_count, Trainee_count;
public static string trainercnt, traineecnt;
string trainercnt;
public static string traineecnt;
string hipbal, leftkneewarning, rightkneewarning, leftsidehighkick, rightsidehighkick;
string spinestraight, pullhipback, great;
......@@ -237,11 +239,10 @@ public class Move : MonoBehaviour
workout_flag = 0;
total = 10;
}
workout_count++;
workout = false;
Debug.Log("트레이니: " + workout_count);
trainercnt = workout_count + "/" + total;
traineecnt = workout_count + "/" + total;
Trainee_count.text = trainercnt;
}
......