public void Reset() { // transform.position = initial_position; // transform.localRotation = Quaternion.Euler(0.0f, -transform.rotation.y, 0.0f); health_slider.value = maxHealth; for (int i = 0; i < enemies.Length; i++) { enemyAi = enemies[i].GetComponent <EnemyAi>(); enemyAi.Reset(); } // playerGameObject.transform.position = new Vector3(-21.8f, 30.15f, 407.2f); // Debug.Log(player.transform.position); }