Teleport the player from A to B

How can i teleport the player from a to b by pressing “r” without restarting the scene ?

First you can Destroy your object from A and instantiate another one on B, binding the hotkey “R”.

Just use this guys:
Get Button

Hi Mtasosm

You could try something like this:

public class ExampleClass : MonoBehaviour
    void Update()
        if (Input.GetKeyDown("R"))
            transform.position = UnityEngine.Random.insideUnitSphere * 100;