回答編集履歴
1
asを削除
test
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
|
23
23
|
if (Input.GetMouseButton(0)) {
|
24
24
|
|
25
|
-
BallController _ball = Instantiate(ballPrefab)
|
25
|
+
BallController _ball = Instantiate(ballPrefab);
|
26
26
|
|
27
27
|
_ball.Shoot(new Vector3(0, 200, 2000));
|
28
28
|
|