Example #1
0
 // 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();
 }
Example #2
0
 // Use this for initialization
 void Start()
 {
     timeLeft     = 0f;
     refillScript = refillButton.GetComponent <FoodRefill> ();
 }