public void BuySmall() { Purchaser purchaser = GameObject.Find("Purchaser").GetComponent <Purchaser>(); purchaser.BuySmall(); }