void OnTriggerEnter(Collider other) {//if we touch the player it's time to fight if (other.gameObject.tag == "Player") { playerTouch = true; this.spawning = true; //set tag to "BattleTarget" to prevent adding it to the active enemy list again this.gameObject.tag = "BattleTarget"; GameManager1 gameManager = FindObjectOfType <GameManager1>(); gameManager.UpdateEnemyList(); gameManager.UpdateBattleScene(); SceneManager.LoadScene("Battle1", LoadSceneMode.Additive); } }