Головна‎ > ‎Unity‎ > ‎

Телепортація

public GameObject Player;
public GameObject Port;

void OnTriggerEnter2D(Collider2D other
{
     Player.transform.position = Port.transform.position
}