回答編集履歴

2

更新

2018/11/19 01:44

投稿

Hawn
Hawn

スコア1222

test CHANGED
@@ -6,4 +6,4 @@
6
6
 
7
7
 
8
8
 
9
- `UnityAction`と書かれている部分はfloatで返ってきているのでここは`UnityAction`という名前ではなく`x`とした方が良いです。
9
+ ここの`UnityAction`と書かれている部分はfloatで返って変数なので`UnityAction`という名前ではなく`x`とした方が良いです。

1

更新

2018/11/19 01:44

投稿

Hawn
Hawn

スコア1222

test CHANGED
@@ -1,3 +1,7 @@
1
+ > error CS0103: The name `x' does not exist in the current context
2
+
3
+
4
+
1
5
  `ChangeCoroutine(UnityAction=>{cube.transform.position = new Vector3(x, cube.transform.position.y, cube.transform.position.z);`部分の`x`が認識出来ていません。
2
6
 
3
7