void Start() { spawnPoint = this.gameObject.transform.GetChild(0).gameObject; Vector2 closestWalkablePosition = tilemapHandler.GetClosestWalkableTile(spawnPoint.transform.position); spawnPoint.transform.position = closestWalkablePosition; spawner.enabled = true; }