// Start is called before the first frame update void Start() { throwStuff = player.GetComponent <throwAway>(); }
// Update is called once per frame void Update() { player = GameObject.FindGameObjectWithTag("Player"); throwStuff = player.GetComponent <throwAway>(); }