//Jimmy Vegas Unity Tutorial //These scripts prepare your level and XP //Global XP: using UnityEngine; public class GlobalXP : MonoBehaviour { public static int CurrentXP; public int InternalXP; void Update () { InternalXP = CurrentXP; } } // Global Level: using UnityEngine; public class GlobalLevel : MonoBehaviour { public static int CurrentLevel = 1; public int InternalLevel; void Update () { InternalLevel = CurrentLevel; } }