Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
LSK_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
고다경
2020-06-15 21:27:41 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
90a39221cadd4f33b738908139b2988ca5e84774
90a39221
1 parent
30fc8209
운동 횟수 카운트 재수정
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletions
sourcecode/capstone/Assets/Script/Move.cs
sourcecode/capstone/Assets/Script/Move.cs
View file @
90a3922
...
...
@@ -125,6 +125,19 @@ public class Move : MonoBehaviour
void
Trainee_Count
()
{
if
(
exercise
==
"Squat"
)
{
workout_flag
=
0
;
workout_flag2
=
0
;
}
else
if
(
exercise
==
"SideHiKick"
)
{
workout_flag
=
0
;
}
else
if
(
exercise
==
"Lunge"
)
{
workout_flag
=
0
;
}
workout_count
++;
workout
=
false
;
...
...
@@ -425,7 +438,8 @@ public class Move : MonoBehaviour
}
////////////운동 횟수 카운트//////////////////////
if
(
ReadAngles
[
3
]
<
95
&&
ReadAngles
[
4
]
<
95
&&
workout
&&
workout_flag
>=
95
)
if
(
ReadAngles
[
3
]
<
95
&&
ReadAngles
[
4
]
<
95
&&
workout
&&
workout_flag
>=
95
&&
workout_flag2
>=
95
)
{
Trainee_Count
();
}
...
...
Please
register
or
login
to post a comment