Showing
3 changed files
with
4 additions
and
14 deletions
... | @@ -19,13 +19,7 @@ public class ActionTest : MonoBehaviour | ... | @@ -19,13 +19,7 @@ public class ActionTest : MonoBehaviour |
19 | if (GetTeleportDown()) | 19 | if (GetTeleportDown()) |
20 | { | 20 | { |
21 | Debug.Log("Teleport" + handType); | 21 | Debug.Log("Teleport" + handType); |
22 | - if (handType.ToString() == "LeftHand" ) | ||
23 | - { | ||
24 | - | ||
25 | 22 | ||
26 | - SceneManager.LoadScene("rpgpp_lt_scene_1.0"); | ||
27 | - | ||
28 | - } | ||
29 | } | 23 | } |
30 | if (GetGrab()) | 24 | if (GetGrab()) |
31 | { | 25 | { | ... | ... |
... | @@ -27,8 +27,8 @@ public class GaugeIncreasing : MonoBehaviour | ... | @@ -27,8 +27,8 @@ public class GaugeIncreasing : MonoBehaviour |
27 | Color color; | 27 | Color color; |
28 | //Text textBlink; | 28 | //Text textBlink; |
29 | 29 | ||
30 | - float timeSpan; | 30 | + // float timeSpan; |
31 | - float checkTime; | 31 | + //float checkTime; |
32 | 32 | ||
33 | // Start is called before the first frame update | 33 | // Start is called before the first frame update |
34 | void Start() | 34 | void Start() | ... | ... |
... | @@ -87,12 +87,8 @@ public class MoveCtrl : MonoBehaviour | ... | @@ -87,12 +87,8 @@ public class MoveCtrl : MonoBehaviour |
87 | // 웨이포인트(Point 게임오브젝트)에 충돌 여부 판단 | 87 | // 웨이포인트(Point 게임오브젝트)에 충돌 여부 판단 |
88 | if (coll.CompareTag("WAY_POINT")) | 88 | if (coll.CompareTag("WAY_POINT")) |
89 | { | 89 | { |
90 | - // 맨 마지막 웨이포인트에 도달했을 때 처음 인덱스로 변경 | 90 | + // 다음 웨이포인트로 이동 |
91 | - if (++nextIdx >= points.Length) | 91 | + nextIdx++; |
92 | - { | ||
93 | - } | ||
94 | - | ||
95 | - | ||
96 | } | 92 | } |
97 | } | 93 | } |
98 | } | 94 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment