Код
void Start()
{
var testPosition = new Vector3(1,1,1);
StartCoroutine(SwithPosition(testPosition, 3));
}
IEnumerator SwithPosition(Vector3 pos, float time)
{
var oldPosition = transform.position;
transform.position = pos;
yield return new WaitForSeconds(time);
transform.position = oldPosition;
}