// Use this for initialization void Start() { UIScript = GameObject.FindObjectOfType <UIEndGame>(); destructionScore = 0f; scoreJauge.fillAmount = 0f; }
// Use this for initialization void Start() { UIScript = GameObject.FindObjectOfType <UIEndGame>(); wasteArray = null; timer = 0f; timeSinceLastDestruction = 0f; }
void Start() { UIScript = GameObject.FindObjectOfType <UIEndGame>(); }