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