private DailyRewards dailyRewards; // DailyReward Instance void Awake() { canvas.gameObject.SetActive(false); dailyRewards = GetComponent <DailyRewards>(); }
private DailyRewards dailyRewards; // DailyReward Instance void Awake() { //canvas.gameObject.SetActive(false); dailyRewards = GetComponent <DailyRewards>(); anim = GetComponent <Animator>(); }