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; }
protected override void OnEnable() { if (!HasBeenInitialized) { _PerksData = TheRunGameManager.Instance.PerksData; InstantiateCells(_PerksData.Data.Length); } base.OnEnable(); }
void Awake() { PerksData = TheRunGameManager.Instance.PerksData; TrophiesData = TheRunGameManager.Instance.TrophiesData; }