回答編集履歴

2

名前の変更

2024/02/11 10:43

投稿

UPUSCB
UPUSCB

スコア9

test CHANGED
@@ -5,7 +5,7 @@
5
5
  using UnityEditor;
6
6
  using UnityEngine;
7
7
 
8
- public class kamovewakusa : MonoBehaviour
8
+ public class mobMove : MonoBehaviour
9
9
  {
10
10
  public Kusuri kusuri;
11
11
  public GameObject pl;

1

プログラムの修正

2024/02/11 10:30

投稿

UPUSCB
UPUSCB

スコア9

test CHANGED
@@ -23,7 +23,7 @@
23
23
  void Start()
24
24
  {
25
25
  transform.position = new Vector2(14f, 4f);
26
- startTime = Time.time;
26
+ st_reset();
27
27
  }
28
28
 
29
29
  // Update is called once per frame