private void OnMouseDown() { textHandler = (Shopkeeper_Script)shopkeeper.GetComponent(typeof(Shopkeeper_Script)); textHandler.quack(); }