回答編集履歴
1
asを削除
answer
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
void Update()
|
11
11
|
{
|
12
12
|
if (Input.GetMouseButton(0)) {
|
13
|
-
BallController _ball = Instantiate(ballPrefab)
|
13
|
+
BallController _ball = Instantiate(ballPrefab);
|
14
14
|
_ball.Shoot(new Vector3(0, 200, 2000));
|
15
15
|
}
|
16
16
|
}
|