質問編集履歴
1
コードの不具合を修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
float speed_A, speed_B;
|
7
7
|
void Update()
|
8
8
|
{
|
9
|
-
O_A.transform.position += new
|
9
|
+
O_A.transform.position += new Vector3(speed_A, 0, 0);
|
10
10
|
}
|
11
11
|
```
|
12
12
|
O_Aは直線だけでなく、曲がったりします。
|