回答編集履歴

1

誤字

2021/11/13 15:20

投稿

univ_esuty
univ_esuty

スコア27

test CHANGED
@@ -8,12 +8,12 @@
8
8
 
9
9
  // before
10
10
 
11
- if (this.transform.position > 4)
11
+ if (this.transform.position.x > 4)
12
12
 
13
13
 
14
14
 
15
15
  // after
16
16
 
17
- if (this.transform.position < 4)
17
+ if (this.transform.position.x < 4)
18
18
 
19
19
  ```