I am not sure if you knew this, but the repo shared by them had the teleportation built-in, along with the teleportation area, you could have just copy-pasted it.
I am using the Godot engine, which is incompatible with the Unity engine. Because of this, I am unable to use the Unity template for my Godot engine game.