Legacy / Legacy
Teleport
Moves one unit to another unit or teleporter target.
Legacy/internal blockBlock ID 24Teleport

What it does
Creates a teleporter component if needed and runs its activation coroutine.
Inputs
- Unit to move.
- Destination unit.
Try it
When a player touches a portal, Teleport Player to Exit.
Tips
- Always test both the start and destination spots.
Sources
Code checked: MagiCats_UnityProject/Assets/Scripts/Blocks/Block.cs