private void DoPickUp(Collider other) { Thrower thrower = other.GetComponent <Thrower>(); if (thrower) { if (this.onPicked != null) { this.onPicked(); } thrower.PickItem(this); } }
private void DoPickUp(Collider other) { Thrower thrower = other.GetComponent <Thrower>(); if (thrower) { if (this.onPicked != null) { this.onPicked(); } thrower.PickItem(this); } }