コード例 #1
0
 public void Restart()
 {
     gameObject.SetActive(true);
     movementCtrl.Restart();
     alive     = true;
     awareness = 0f;
     UpdateUI();
     EnemyRender.transform.localPosition = Vector3.zero;
     EnemyRender.transform.localRotation = Quaternion.identity;
     OnRestart?.Invoke();
 }