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

public class SkillTree_Manager : MonoBehaviour
{
	// Use this for initialization
	void Start ()
    {
		
	}
	
	// Update is called once per frame
	void Update ()
    {
		
	}
}

﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class SkillTree_Manager : MonoBehaviour
{
    public GameObject amountXPObject;

    Text amountXPText;

	// Use this for initialization
	void Start ()
    {
        amountXPText = amountXPObject.GetComponent<Text>();
	}
	
	// Update is called once per frame
	void Update ()
    {
        amountXPText.text = Game.thePlayer.XP.ToString();
    }
}

Update XP in skills page
Update XP in skills page
