void IncrementProgress() { statsBars = GameObject.Find("StatsBars").GetComponent <StatBars>();//get our stats bar if (points > 0) { statsBars.IncreaseProgress(points); } }
void IncrementProgress() { statsBars = GameObject.Find("StatsBars").GetComponent <StatBars>();//get our stats bar if (points > 0) { statsBars.IncreaseProgress(points); } }