void InitializeReferences()
 {
     MoneyData    = TheRunGameManager.Instance.MoneyData;
     CrystalsData = TheRunGameManager.Instance.CrystalsData;
     PerksData    = TheRunGameManager.Instance.PerksData;
     PowerupsData = TheRunGameManager.Instance.PowerupsData;
 }
 void Start()
 {
     Rewards  = TheRunGameManager.Instance.RewardsData;
     Crystals = TheRunGameManager.Instance.CrystalsData;
     Perks    = TheRunGameManager.Instance.PerksData;
     Money    = TheRunGameManager.Instance.MoneyData;
     Powerups = TheRunGameManager.Instance.PowerupsData;
 }
Exemple #3
0
    protected override void OnEnable()
    {
        if (!HasBeenInitialized)
        {
            _PerksData = TheRunGameManager.Instance.PerksData;
            InstantiateCells(_PerksData.Data.Length);
        }

        base.OnEnable();
    }
Exemple #4
0
		void Awake()
		{
			PerksData = TheRunGameManager.Instance.PerksData;
			TrophiesData = TheRunGameManager.Instance.TrophiesData;
		}