void OnCollisionEnter(Collision coll) { Renderer renderer = coll.gameObject.GetComponent <Renderer> (); renderer.material.color = _randomColor.GetBodyColor(); _randomColor.ChangeColor(); }