質問編集履歴
3
出来ました
test
CHANGED
File without changes
|
test
CHANGED
@@ -66,11 +66,11 @@
|
|
66
66
|
|
67
67
|
{
|
68
68
|
|
69
|
-
if (collision.gameObject.name == "
|
69
|
+
if (collision.gameObject.name == "Door")
|
70
70
|
|
71
71
|
{
|
72
72
|
|
73
|
-
Application.LoadLevel("
|
73
|
+
Application.LoadLevel("Scene");
|
74
74
|
|
75
75
|
}
|
76
76
|
|
2
出来ました
test
CHANGED
File without changes
|
test
CHANGED
@@ -9,6 +9,22 @@
|
|
9
9
|
|
10
10
|
|
11
11
|
```
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
12
28
|
|
13
29
|
|
14
30
|
|
@@ -64,6 +80,14 @@
|
|
64
80
|
|
65
81
|
|
66
82
|
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
67
|
-
|
91
|
+
```
|
68
92
|
|
69
93
|
どうすればいいでしょうか
|
1
```を追加しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,7 +8,13 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
+
```
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
11
|
-
|
17
|
+
using UnityEngine;
|
12
18
|
|
13
19
|
using System.Collections;
|
14
20
|
|
@@ -44,11 +50,11 @@
|
|
44
50
|
|
45
51
|
{
|
46
52
|
|
47
|
-
if (collision.gameObject.name == "
|
53
|
+
if (collision.gameObject.name == "オブジェクト名")
|
48
54
|
|
49
55
|
{
|
50
56
|
|
51
|
-
Application.LoadLevel("
|
57
|
+
Application.LoadLevel("gameover");
|
52
58
|
|
53
59
|
}
|
54
60
|
|
@@ -58,6 +64,6 @@
|
|
58
64
|
|
59
65
|
|
60
66
|
|
61
|
-
|
67
|
+
```
|
62
68
|
|
63
69
|
どうすればいいでしょうか
|