void setUpDog() { //Tell paddock another dog has been added paddock.updateDogList(this.gameObject); rand = Random.Range(0, names.Count); //Will randomly pick name stats.name = names[rand]; //Starting Happiness stats.happiness = 60; this.gameObject.name = stats.name; //Set this 'character' to be of type dog this.setCharacterType(3); //Set the paddock as its parent object this.gameObject.transform.parent.transform.parent = paddock.gameObject.transform; paddock.updateHappiness(); }