質問編集履歴

1

誤字修正

2020/07/11 12:22

投稿

metalnickel
metalnickel

スコア2

test CHANGED
File without changes
test CHANGED
@@ -20,7 +20,7 @@
20
20
 
21
21
  ```c#
22
22
 
23
- public class Homing : PlayerBulletMoveAdd{
23
+ public class Homing : BulletMoveAdd{
24
24
 
25
25
  public override Vector2 ModifyDirection(Vector2 pos, Vector2 dir){
26
26
 
@@ -46,7 +46,7 @@
46
46
 
47
47
  ///</summary>
48
48
 
49
- public void CreatePlayerShotFromScript(BulletData bd, Vector2 shotPosition, float speed, float angle, string scriptName){
49
+ public void CreateShotFromScript(BulletData bd, Vector2 shotPosition, float speed, float angle, string scriptName){
50
50
 
51
51
  GameObject bullet = BulletPool.GetBullet();//プールから弾を借りる
52
52
 
@@ -80,7 +80,7 @@
80
80
 
81
81
  ```
82
82
 
83
- public void SetPlayerShotDataA(BulletController bc){
83
+ public void SetShotDataA(BulletController bc){
84
84
 
85
85
  BulletMoveAdd bma = bc.gameObject.AddComponent<MoveDataA>();
86
86