// Teleport to a new node inside the map public void TeleportNewLocation() { //Debug.Log("Teleport"); GameObject smoke = Instantiate(smokeEffectPrefab, originalPos.position, Quaternion.identity); Destroy(smoke, 1f); if (m_isDead is false) { m_enemyPath.PickStartingNode(); } }