public void SpawnPlayer()
    {
        runSpeed = 6;
        spellPrefab = Resources.Load("Spell") as GameObject;
        playerAnimator = GetComponent<Animator>();
        visuals = GameObject.Find("Visuals");
        mainCamera = GameObject.Find("Main Camera");
        cameraPos = mainCamera.transform.position;
        spells = GetComponent<Spells>();
        spells.InitializeSpells();
        uiManager = GameObject.Find("Manager").GetComponent<UIManager>();

        spells.selectedSpell1 = spells.test1;
        spells.selectedSpell2 = spells.test2;
        spells.selectedSpell3 = spells.test3;
        spells.selectedSpell4 = spells.test4;
        uiManager.MoveHighlight(1);
    }