// Start is called before the first frame update void Start() { bill = GameObject.FindWithTag("tagB").GetComponent <Bill>(); cody = GameObject.FindWithTag("tagC").GetComponent <Cody>(); }