// Use this for initialization private void Start() { // gets script that contains bowl bool refillScript = refillButton.GetComponent <FoodRefill> (); dogInYard = new List <GameObject>(); hasToy = true; rand = new System.Random(); }
// Use this for initialization void Start() { timeLeft = 0f; refillScript = refillButton.GetComponent <FoodRefill> (); }