Toggle navigation
Toggle navigation
This project
Loading...
Sign in
조아혜
/
smart-home-training
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
김유현
2021-06-18 00:55:35 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9c87cdf8efe61511e829fad9e0ce21f82bb870de
9c87cdf8
1 parent
05471336
0618 : 소스 코드 수정
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
15 deletions
src/unity/creating-map/Assets/Scripts/ActionTest.cs
src/unity/creating-map/Assets/Scripts/GaugeIncreasing.cs
src/unity/creating-map/Assets/Scripts/MoveCtrl.cs
src/unity/creating-map/Assets/Scripts/ActionTest.cs
View file @
9c87cdf
...
...
@@ -19,13 +19,7 @@ public class ActionTest : MonoBehaviour
if
(
GetTeleportDown
())
{
Debug
.
Log
(
"Teleport"
+
handType
);
if
(
handType
.
ToString
()
==
"LeftHand"
)
{
SceneManager
.
LoadScene
(
"rpgpp_lt_scene_1.0"
);
}
}
if
(
GetGrab
())
{
...
...
src/unity/creating-map/Assets/Scripts/GaugeIncreasing.cs
View file @
9c87cdf
...
...
@@ -27,8 +27,8 @@ public class GaugeIncreasing : MonoBehaviour
Color
color
;
//Text textBlink;
float
timeSpan
;
float
checkTime
;
//
float timeSpan;
//
float checkTime;
// Start is called before the first frame update
void
Start
()
...
...
src/unity/creating-map/Assets/Scripts/MoveCtrl.cs
View file @
9c87cdf
...
...
@@ -87,12 +87,8 @@ public class MoveCtrl : MonoBehaviour
// 웨이포인트(Point 게임오브젝트)에 충돌 여부 판단
if
(
coll
.
CompareTag
(
"WAY_POINT"
))
{
// 맨 마지막 웨이포인트에 도달했을 때 처음 인덱스로 변경
if
(++
nextIdx
>=
points
.
Length
)
{
}
// 다음 웨이포인트로 이동
nextIdx
++;
}
}
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment