So i've been working on a game with Dimensionhopping. How should I approach it?Should I have both dimensions in the scene by making one of them invisible?They have to be both renderd in for a quick switch."Cube" is the object I'm trying to turn invisible

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Dimensionshift : MonoBehaviour
{
public Cube cube;

// Start is called before the first frame update
void Start()
{
    
}

// Update is called once per frame
void Update()
{
    if (Input.GetKeyUp(KeyCode.e))
    {
        cube.SetActive(true);
    }
    if (Input.GetKeyUp(KeyCode.q))
    {
        cube.SetActive(false);
    }
}

}