public void Setup()
    {
        MonoBehaviour.Instantiate(Resources.Load <GameObject>("Prefabs/_EventManager"));

        GameObject plane = Resources.Load <GameObject>("Prefabs/Plane");

        plane1 = MonoBehaviour.Instantiate(plane);
        plane2 = MonoBehaviour.Instantiate(plane);
        player = MonoBehaviour.Instantiate(Resources.Load <GameObject>("Prefabs/VR/VRPlayer"));

        // Create empty game objects to be used as teleportation points
        point1 = new GameObject();
        point1.transform.position = new Vector3(15, 100, 15);

        point2 = new GameObject();
        point2.transform.position = new Vector3(-15, 100, 15);

        point3 = new GameObject();
        point3.transform.position = new Vector3(15, 100, -15);

        point4 = new GameObject();
        point4.transform.position = new Vector3(-15, 100, -15);

        plane2.transform.position = new Vector3(0, 100, 0);
        jumpScript = player.GetComponent <VRPlayerDimensionJump>();

        // Add the teleport points to the jump script after it has been initialised
        GameObject[] points = { point1, point2, point3, point4 };
        // jumpScript.teleportPoints = points;
    }
 void Start()
 {
     dimensionJump = GetComponent <VRPlayerDimensionJump>();
 }